home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.5 for Developers / QuickTime 1.5 for Developers.iso / System Stuff / Video Digitizers / RasterOps / RasterOps Drivers / RasterOps Drivers.rsrc / DRVR_128_.RasterOps 24STV PIP 1.5d2.txt < prev    next >
Text File  |  1992-10-15  |  518KB  |  9,518 lines

  1. # name: .RasterOps 24STV PIP
  2. # flags: 0x1C00 (ENABLE_CONTROL, ENABLE_STATUS, NEED_GOODBYE)
  3. # delay: 0
  4. # event mask: 0x0000
  5. # menu id: 0
  6. # open label: 000A
  7. # prime label: 000E
  8. # control label: 0012
  9. # status label: 0016
  10. # close label: 001A
  11. 00000000  0000 0000                ori.b      D0, 0x0
  12. 00000004  0000 0000                ori.b      D0, 0x0
  13. 00000008  0000 6000                ori.b      D0, 0x0
  14. open: // at 0000000A (misaligned)
  15. 0000000C  0012 6000                ori.b      [A2], 0x0
  16. prime: // at 0000000E (misaligned)
  17. 00000010  0014 6000                ori.b      [A4], 0x0
  18. control: // at 00000012 (misaligned)
  19. 00000014  0016 6000                ori.b      [A6], 0x0
  20. status: // at 00000016 (misaligned)
  21. 00000018  0018 6000                ori.b      [A0]+, 0x0
  22. close: // at 0000001A (misaligned)
  23. 0000001C  001A 487A                ori.b      [A2]+, 0x7A /* 'z' */
  24. 00000020  2D7C 6016 487A 2F7A      move.l     [A6 + 0x2F7A], 0x6016487A
  25. 00000028  6010                     bra        +0x12 /* 0000003A */
  26. 0000002A  487A 2FF2                pea.l      [PC + 0x2FF2 /* 0000301E, value 0x4E56FFB2 */]
  27. 0000002E  600A                     bra        +0xC /* 0000003A */
  28. 00000030  487A 5136                pea.l      [PC + 0x5136 /* 00005168, value 0x4E56FFD4 */]
  29. 00000034  6004                     bra        +0x6 /* 0000003A */
  30. 00000036  487A 2F76                pea.l      [PC + 0x2F76 /* 00002FAE, value 0x4E560000 'NV\0\0', cstring "NV" */]
  31. label0000003A:
  32. 0000003A  48E7 00C0                movem.l    -[A7], A0,A1
  33. 0000003E  4267                     clr.w      -[A7]
  34. 00000040  2F08                     move.l     -[A7], A0
  35. 00000042  2F09                     move.l     -[A7], A1
  36. 00000044  206F 0012                movea.l    A0, [A7 + 0x12]
  37. 00000048  4E90                     jsr        [A0]
  38. 0000004A  301F                     move.w     D0, [A7]+
  39. 0000004C  4CDF 0300                movem.l    A0,A1, [A7]+
  40. 00000050  584F                     addq.w     A7, 4
  41. 00000052  0828 0001 0006           btst.b     [A0 + 0x6], 0x1
  42. 00000058  6604                     bne        +0x6 /* 0000005E */
  43. 0000005A  2F38 08FC                move.l     -[A7], [0x000008FC /* JIODone */]
  44. label0000005E:
  45. 0000005E  4E75                     rts
  46. fn00000060:
  47. 00000060  4E56 0000                link       A6, 0
  48. 00000064  48E7 0700                movem.l    -[A7], D5,D6,D7
  49. 00000068  3A2E 000A                move.w     D5, [A6 + 0xA]
  50. 0000006C  3C05                     move.w     D6, D5
  51. 0000006E  4A46                     tst.w      D6
  52. 00000070  6D10                     blt        +0x12 /* 00000082 */
  53. label00000072:
  54. 00000072  3E38 0D00                move.w     D7, [0x00000D00 /* TimeDBRA */]
  55. 00000076  4A47                     tst.w      D7
  56. 00000078  6D04                     blt        +0x6 /* 0000007E */
  57. label0000007A:
  58. 0000007A  51CF FFFE                dbf        D7, -0x4 /* 0000007A */
  59. label0000007E:
  60. 0000007E  51CE FFF2                dbf        D6, -0x10 /* 00000072 */
  61. label00000082:
  62. 00000082  4CEE 00E0 FFF4           movem.l    D5,D6,D7, [A6 - 0xC]
  63. 00000088  4E5E                     unlink     A6
  64. 0000008A  4E75                     rts
  65. fn0000008C:
  66. 0000008C  4E56 FFFE                link       A6, -0x0002
  67. 00000090  2F0C                     move.l     -[A7], A4
  68. 00000092  286E 0008                movea.l    A4, [A6 + 0x8]
  69. 00000096  D9FC 00FE 6034           add.l      A4, 0xFE6034
  70. 0000009C  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  71. 000000A2  43EE FFFF                lea.l      A1, [A6 - 0x1]
  72. 000000A6  2049                     movea.l    A0, A1
  73. 000000A8  1010                     move.b     D0, [A0]
  74. 000000AA  A05D                     syscall    SwapMMUMode
  75. 000000AC  1080                     move.b     [A0], D0
  76. label000000AE:
  77. 000000AE  7001                     moveq.l    D0, 0x01
  78. 000000B0  C094                     and.l      D0, [A4]
  79. 000000B2  7201                     moveq.l    D1, 0x01
  80. 000000B4  B280                     cmp.l      D1, D0
  81. 000000B6  67F6                     beq        -0x8 /* 000000AE */
  82. label000000B8:
  83. 000000B8  7001                     moveq.l    D0, 0x01
  84. 000000BA  C094                     and.l      D0, [A4]
  85. 000000BC  67FA                     beq        -0x4 /* 000000B8 */
  86. 000000BE  43EE FFFF                lea.l      A1, [A6 - 0x1]
  87. 000000C2  2049                     movea.l    A0, A1
  88. 000000C4  1010                     move.b     D0, [A0]
  89. 000000C6  A05D                     syscall    SwapMMUMode
  90. 000000C8  1080                     move.b     [A0], D0
  91. 000000CA  286E FFFA                movea.l    A4, [A6 - 0x6]
  92. 000000CE  4E5E                     unlink     A6
  93. 000000D0  4E75                     rts
  94. fn000000D2:
  95. 000000D2  4E56 FFFE                link       A6, -0x0002
  96. 000000D6  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  97. 000000DA  2A2E 000C                move.l     D5, [A6 + 0xC]
  98. 000000DE  286E 0008                movea.l    A4, [A6 + 0x8]
  99. 000000E2  0C6E 0084 0012           cmpi.w     [A6 + 0x12], 0x84
  100. 000000E8  6606                     bne        +0x8 /* 000000F0 */
  101. 000000EA  3C3C 03FF                move.w     D6, 0x3FF
  102. 000000EE  6004                     bra        +0x6 /* 000000F4 */
  103. label000000F0:
  104. 000000F0  3C3C 00FF                move.w     D6, 0xFF
  105. label000000F4:
  106. 000000F4  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  107. 000000FA  43EE FFFF                lea.l      A1, [A6 - 0x1]
  108. 000000FE  2049                     movea.l    A0, A1
  109. 00000100  1010                     move.b     D0, [A0]
  110. 00000102  A05D                     syscall    SwapMMUMode
  111. 00000104  1080                     move.b     [A0], D0
  112. 00000106  383C 01FF                move.w     D4, 0x1FF
  113. label0000010A:
  114. 0000010A  3E06                     move.w     D7, D6
  115. 0000010C  4A47                     tst.w      D7
  116. 0000010E  6D06                     blt        +0x8 /* 00000116 */
  117. label00000110:
  118. 00000110  28C5                     move.l     [A4]+, D5
  119. 00000112  51CF FFFC                dbf        D7, -0x6 /* 00000110 */
  120. label00000116:
  121. 00000116  51CC FFF2                dbf        D4, -0x10 /* 0000010A */
  122. 0000011A  43EE FFFF                lea.l      A1, [A6 - 0x1]
  123. 0000011E  2049                     movea.l    A0, A1
  124. 00000120  1010                     move.b     D0, [A0]
  125. 00000122  A05D                     syscall    SwapMMUMode
  126. 00000124  1080                     move.b     [A0], D0
  127. 00000126  4CEE 10F0 FFEA           movem.l    D4,D5,D6,D7,A4, [A6 - 0x16]
  128. 0000012C  4E5E                     unlink     A6
  129. 0000012E  4E75                     rts
  130. fn00000130:
  131. 00000130  4E56 FFF6                link       A6, -0x000A
  132. 00000134  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  133. 00000138  3A2E 002A                move.w     D5, [A6 + 0x2A]
  134. 0000013C  302E 001A                move.w     D0, [A6 + 0x1A]
  135. 00000140  48C0                     ext.l      D0
  136. 00000142  7210                     moveq.l    D1, 0x10
  137. 00000144  E3A8                     lsl        D0, D1
  138. 00000146  322E 001E                move.w     D1, [A6 + 0x1E]
  139. 0000014A  48C1                     ext.l      D1
  140. 0000014C  E189                     lsl        D1, 8
  141. 0000014E  8280                     or.l       D1, D0
  142. 00000150  302E 0022                move.w     D0, [A6 + 0x22]
  143. 00000154  48C0                     ext.l      D0
  144. 00000156  2800                     move.l     D4, D0
  145. 00000158  8881                     or.l       D4, D1
  146. 0000015A  2D7C 0000 0400 FFFA      move.l     [A6 - 0x6], 0x400
  147. 00000162  302E 000A                move.w     D0, [A6 + 0xA]
  148. 00000166  48C0                     ext.l      D0
  149. 00000168  4C3C 0800 0000           movem.w    A3, 0x0
  150. 0000016E  1000                     move.b     D0, D0
  151. 00000170  D0AE 002C                add.l      D0, [A6 + 0x2C]
  152. 00000174  322E 000E                move.w     D1, [A6 + 0xE]
  153. 00000178  48C1                     ext.l      D1
  154. 0000017A  E581                     asl        D1, 2
  155. 0000017C  2841                     movea.l    A4, D1
  156. 0000017E  D9C0                     add.l      A4, D0
  157. 00000180  302E 0016                move.w     D0, [A6 + 0x16]
  158. 00000184  48C0                     ext.l      D0
  159. 00000186  322E 000E                move.w     D1, [A6 + 0xE]
  160. 0000018A  48C1                     ext.l      D1
  161. 0000018C  9081                     sub.l      D0, D1
  162. 0000018E  91AE FFFA                sub.l      [A6 - 0x6], D0
  163. 00000192  7002                     moveq.l    D0, 0x02
  164. 00000194  B06E 0026                cmp.w      D0, [A6 + 0x26]
  165. 00000198  6600 00BA                bne        +0xBC /* 00000254 */
  166. 0000019C  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  167. 000001A2  43EE FFFF                lea.l      A1, [A6 - 0x1]
  168. 000001A6  2049                     movea.l    A0, A1
  169. 000001A8  1010                     move.b     D0, [A0]
  170. 000001AA  A05D                     syscall    SwapMMUMode
  171. 000001AC  1080                     move.b     [A0], D0
  172. 000001AE  4A45                     tst.w      D5
  173. 000001B0  674A                     beq        +0x4C /* 000001FC */
  174. 000001B2  2C3C 8000 0000           move.l     D6, 0x80000000
  175. 000001B8  302E 000A                move.w     D0, [A6 + 0xA]
  176. 000001BC  48C0                     ext.l      D0
  177. 000001BE  2D40 FFF6                move.l     [A6 - 0xA], D0
  178. 000001C2  602A                     bra        +0x2C /* 000001EE */
  179. label000001C4:
  180. 000001C4  302E 000E                move.w     D0, [A6 + 0xE]
  181. 000001C8  48C0                     ext.l      D0
  182. 000001CA  2E00                     move.l     D7, D0
  183. 000001CC  6006                     bra        +0x8 /* 000001D4 */
  184. label000001CE:
  185. 000001CE  8D9C                     or.l       [A4]+, D6
  186. 000001D0  2007                     move.l     D0, D7
  187. 000001D2  5287                     addq.l     D7, 1
  188. label000001D4:
  189. 000001D4  302E 0016                move.w     D0, [A6 + 0x16]
  190. 000001D8  48C0                     ext.l      D0
  191. 000001DA  B087                     cmp.l      D0, D7
  192. 000001DC  6EF0                     bgt        -0xE /* 000001CE */
  193. 000001DE  202E FFFA                move.l     D0, [A6 - 0x6]
  194. 000001E2  E580                     asl        D0, 2
  195. 000001E4  D9C0                     add.l      A4, D0
  196. 000001E6  202E FFF6                move.l     D0, [A6 - 0xA]
  197. 000001EA  52AE FFF6                addq.l     [A6 - 0xA], 1
  198. label000001EE:
  199. 000001EE  302E 0012                move.w     D0, [A6 + 0x12]
  200. 000001F2  48C0                     ext.l      D0
  201. 000001F4  B0AE FFF6                cmp.l      D0, [A6 - 0xA]
  202. 000001F8  6ECA                     bgt        -0x34 /* 000001C4 */
  203. 000001FA  6048                     bra        +0x4A /* 00000244 */
  204. label000001FC:
  205. 000001FC  2C3C 00FF FFFF           move.l     D6, 0xFFFFFF
  206. 00000202  302E 000A                move.w     D0, [A6 + 0xA]
  207. 00000206  48C0                     ext.l      D0
  208. 00000208  2D40 FFF6                move.l     [A6 - 0xA], D0
  209. 0000020C  602A                     bra        +0x2C /* 00000238 */
  210. label0000020E:
  211. 0000020E  302E 000E                move.w     D0, [A6 + 0xE]
  212. 00000212  48C0                     ext.l      D0
  213. 00000214  2E00                     move.l     D7, D0
  214. 00000216  6006                     bra        +0x8 /* 0000021E */
  215. label00000218:
  216. 00000218  CD9C                     and.l      [A4]+, D6
  217. 0000021A  2007                     move.l     D0, D7
  218. 0000021C  5287                     addq.l     D7, 1
  219. label0000021E:
  220. 0000021E  302E 0016                move.w     D0, [A6 + 0x16]
  221. 00000222  48C0                     ext.l      D0
  222. 00000224  B087                     cmp.l      D0, D7
  223. 00000226  6EF0                     bgt        -0xE /* 00000218 */
  224. 00000228  202E FFFA                move.l     D0, [A6 - 0x6]
  225. 0000022C  E580                     asl        D0, 2
  226. 0000022E  D9C0                     add.l      A4, D0
  227. 00000230  202E FFF6                move.l     D0, [A6 - 0xA]
  228. 00000234  52AE FFF6                addq.l     [A6 - 0xA], 1
  229. label00000238:
  230. 00000238  302E 0012                move.w     D0, [A6 + 0x12]
  231. 0000023C  48C0                     ext.l      D0
  232. 0000023E  B0AE FFF6                cmp.l      D0, [A6 - 0xA]
  233. 00000242  6ECA                     bgt        -0x34 /* 0000020E */
  234. label00000244:
  235. 00000244  43EE FFFF                lea.l      A1, [A6 - 0x1]
  236. 00000248  2049                     movea.l    A0, A1
  237. 0000024A  1010                     move.b     D0, [A0]
  238. 0000024C  A05D                     syscall    SwapMMUMode
  239. 0000024E  1080                     move.b     [A0], D0
  240. 00000250  6000 0110                bra        +0x112 /* 00000362 */
  241. label00000254:
  242. 00000254  4A6E 0026                tst.w      [A6 + 0x26]
  243. 00000258  6700 0086                beq        +0x88 /* 000002E0 */
  244. 0000025C  4A45                     tst.w      D5
  245. 0000025E  6708                     beq        +0xA /* 00000268 */
  246. 00000260  203C 8000 0000           move.l     D0, 0x80000000
  247. 00000266  6002                     bra        +0x4 /* 0000026A */
  248. label00000268:
  249. 00000268  7000                     moveq.l    D0, 0x00
  250. label0000026A:
  251. 0000026A  2C04                     move.l     D6, D4
  252. 0000026C  8C80                     or.l       D6, D0
  253. 0000026E  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  254. 00000274  43EE FFFF                lea.l      A1, [A6 - 0x1]
  255. 00000278  2049                     movea.l    A0, A1
  256. 0000027A  1010                     move.b     D0, [A0]
  257. 0000027C  A05D                     syscall    SwapMMUMode
  258. 0000027E  1080                     move.b     [A0], D0
  259. 00000280  302E 000A                move.w     D0, [A6 + 0xA]
  260. 00000284  48C0                     ext.l      D0
  261. 00000286  2D40 FFF6                move.l     [A6 - 0xA], D0
  262. 0000028A  6038                     bra        +0x3A /* 000002C4 */
  263. label0000028C:
  264. 0000028C  302E 000E                move.w     D0, [A6 + 0xE]
  265. 00000290  48C0                     ext.l      D0
  266. 00000292  2E00                     move.l     D7, D0
  267. 00000294  6014                     bra        +0x16 /* 000002AA */
  268. label00000296:
  269. 00000296  203C 00FF FFFF           move.l     D0, 0xFFFFFF
  270. 0000029C  C094                     and.l      D0, [A4]
  271. 0000029E  B880                     cmp.l      D4, D0
  272. 000002A0  6602                     bne        +0x4 /* 000002A4 */
  273. 000002A2  2886                     move.l     [A4], D6
  274. label000002A4:
  275. 000002A4  584C                     addq.w     A4, 4
  276. 000002A6  2007                     move.l     D0, D7
  277. 000002A8  5287                     addq.l     D7, 1
  278. label000002AA:
  279. 000002AA  302E 0016                move.w     D0, [A6 + 0x16]
  280. 000002AE  48C0                     ext.l      D0
  281. 000002B0  B087                     cmp.l      D0, D7
  282. 000002B2  6EE2                     bgt        -0x1C /* 00000296 */
  283. 000002B4  202E FFFA                move.l     D0, [A6 - 0x6]
  284. 000002B8  E580                     asl        D0, 2
  285. 000002BA  D9C0                     add.l      A4, D0
  286. 000002BC  202E FFF6                move.l     D0, [A6 - 0xA]
  287. 000002C0  52AE FFF6                addq.l     [A6 - 0xA], 1
  288. label000002C4:
  289. 000002C4  302E 0012                move.w     D0, [A6 + 0x12]
  290. 000002C8  48C0                     ext.l      D0
  291. 000002CA  B0AE FFF6                cmp.l      D0, [A6 - 0xA]
  292. 000002CE  6EBC                     bgt        -0x42 /* 0000028C */
  293. 000002D0  43EE FFFF                lea.l      A1, [A6 - 0x1]
  294. 000002D4  2049                     movea.l    A0, A1
  295. 000002D6  1010                     move.b     D0, [A0]
  296. 000002D8  A05D                     syscall    SwapMMUMode
  297. 000002DA  1080                     move.b     [A0], D0
  298. 000002DC  6000 0084                bra        +0x86 /* 00000362 */
  299. label000002E0:
  300. 000002E0  4A45                     tst.w      D5
  301. 000002E2  6708                     beq        +0xA /* 000002EC */
  302. 000002E4  203C 8000 0000           move.l     D0, 0x80000000
  303. 000002EA  6002                     bra        +0x4 /* 000002EE */
  304. label000002EC:
  305. 000002EC  7000                     moveq.l    D0, 0x00
  306. label000002EE:
  307. 000002EE  2C00                     move.l     D6, D0
  308. 000002F0  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  309. 000002F6  43EE FFFF                lea.l      A1, [A6 - 0x1]
  310. 000002FA  2049                     movea.l    A0, A1
  311. 000002FC  1010                     move.b     D0, [A0]
  312. 000002FE  A05D                     syscall    SwapMMUMode
  313. 00000300  1080                     move.b     [A0], D0
  314. 00000302  302E 000A                move.w     D0, [A6 + 0xA]
  315. 00000306  48C0                     ext.l      D0
  316. 00000308  2D40 FFF6                move.l     [A6 - 0xA], D0
  317. 0000030C  603C                     bra        +0x3E /* 0000034A */
  318. label0000030E:
  319. 0000030E  302E 000E                move.w     D0, [A6 + 0xE]
  320. 00000312  48C0                     ext.l      D0
  321. 00000314  2E00                     move.l     D7, D0
  322. 00000316  6018                     bra        +0x1A /* 00000330 */
  323. label00000318:
  324. 00000318  2A3C 00FF FFFF           move.l     D5, 0xFFFFFF
  325. 0000031E  CA94                     and.l      D5, [A4]
  326. 00000320  B885                     cmp.l      D4, D5
  327. 00000322  6706                     beq        +0x8 /* 0000032A */
  328. 00000324  2005                     move.l     D0, D5
  329. 00000326  8086                     or.l       D0, D6
  330. 00000328  2880                     move.l     [A4], D0
  331. label0000032A:
  332. 0000032A  584C                     addq.w     A4, 4
  333. 0000032C  2007                     move.l     D0, D7
  334. 0000032E  5287                     addq.l     D7, 1
  335. label00000330:
  336. 00000330  302E 0016                move.w     D0, [A6 + 0x16]
  337. 00000334  48C0                     ext.l      D0
  338. 00000336  B087                     cmp.l      D0, D7
  339. 00000338  6EDE                     bgt        -0x20 /* 00000318 */
  340. 0000033A  202E FFFA                move.l     D0, [A6 - 0x6]
  341. 0000033E  E580                     asl        D0, 2
  342. 00000340  D9C0                     add.l      A4, D0
  343. 00000342  202E FFF6                move.l     D0, [A6 - 0xA]
  344. 00000346  52AE FFF6                addq.l     [A6 - 0xA], 1
  345. label0000034A:
  346. 0000034A  302E 0012                move.w     D0, [A6 + 0x12]
  347. 0000034E  48C0                     ext.l      D0
  348. 00000350  B0AE FFF6                cmp.l      D0, [A6 - 0xA]
  349. 00000354  6EB8                     bgt        -0x46 /* 0000030E */
  350. 00000356  43EE FFFF                lea.l      A1, [A6 - 0x1]
  351. 0000035A  2049                     movea.l    A0, A1
  352. 0000035C  1010                     move.b     D0, [A0]
  353. 0000035E  A05D                     syscall    SwapMMUMode
  354. 00000360  1080                     move.b     [A0], D0
  355. label00000362:
  356. 00000362  4CEE 10F0 FFE2           movem.l    D4,D5,D6,D7,A4, [A6 - 0x1E]
  357. 00000368  4E5E                     unlink     A6
  358. 0000036A  4E75                     rts
  359. fn0000036C:
  360. 0000036C  4E56 FFF4                link       A6, -0x000C
  361. 00000370  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  362. 00000374  286E 0010                movea.l    A4, [A6 + 0x10]
  363. 00000378  7E00                     moveq.l    D7, 0x00
  364. 0000037A  7C00                     moveq.l    D6, 0x00
  365. 0000037C  1D7C 0001 FFFD           move.b     [A6 - 0x3], 0x1
  366. 00000382  3A2C 072C                move.w     D5, [A4 + 0x72C]
  367. 00000386  3A2C 072E                move.w     D5, [A4 + 0x72E]
  368. 0000038A  426E FFFE                clr.w      [A6 - 0x2]
  369. 0000038E  302C 071C                move.w     D0, [A4 + 0x71C]
  370. 00000392  48C0                     ext.l      D0
  371. 00000394  7218                     moveq.l    D1, 0x18
  372. 00000396  E3A8                     lsl        D0, D1
  373. 00000398  2A00                     move.l     D5, D0
  374. 0000039A  8ABC F000 0000           or.l       D5, 0xF0000000
  375. 000003A0  283C 00FE 6018           move.l     D4, 0xFE6018
  376. 000003A6  8885                     or.l       D4, D5
  377. 000003A8  203C 00FE 7018           move.l     D0, 0xFE7018
  378. 000003AE  8085                     or.l       D0, D5
  379. 000003B0  2D40 FFF4                move.l     [A6 - 0xC], D0
  380. 000003B4  203C 00FE 6064           move.l     D0, 0xFE6064
  381. 000003BA  8085                     or.l       D0, D5
  382. 000003BC  2D40 FFF8                move.l     [A6 - 0x8], D0
  383. 000003C0  302E 000A                move.w     D0, [A6 + 0xA]
  384. 000003C4  5940                     subq.w     D0, 4
  385. 000003C6  6706                     beq        +0x8 /* 000003CE */
  386. 000003C8  5940                     subq.w     D0, 4
  387. 000003CA  670A                     beq        +0xC /* 000003D6 */
  388. 000003CC  6010                     bra        +0x12 /* 000003DE */
  389. label000003CE:
  390. 000003CE  397C 0003 0722           move.w     [A4 + 0x722], 0x3
  391. 000003D4  600E                     bra        +0x10 /* 000003E4 */
  392. label000003D6:
  393. 000003D6  397C 0004 0722           move.w     [A4 + 0x722], 0x4
  394. 000003DC  6006                     bra        +0x8 /* 000003E4 */
  395. label000003DE:
  396. 000003DE  396E 000A 0722           move.w     [A4 + 0x722], [A6 + 0xA]
  397. label000003E4:
  398. 000003E4  43EE FFFD                lea.l      A1, [A6 - 0x3]
  399. 000003E8  2049                     movea.l    A0, A1
  400. 000003EA  1010                     move.b     D0, [A0]
  401. 000003EC  A05D                     syscall    SwapMMUMode
  402. 000003EE  1080                     move.b     [A0], D0
  403. 000003F0  2044                     movea.l    A0, D4
  404. 000003F2  3D68 0002 FFFE           move.w     [A6 - 0x2], [A0 + 0x2]
  405. 000003F8  2044                     movea.l    A0, D4
  406. 000003FA  7000                     moveq.l    D0, 0x00
  407. 000003FC  2080                     move.l     [A0], D0
  408. 000003FE  206E FFF4                movea.l    A0, [A6 - 0xC]
  409. 00000402  1210                     move.b     D1, [A0]
  410. 00000404  49C1                     lea.l      A4, D1
  411. 00000406  2C01                     move.l     D6, D1
  412. 00000408  0286 0000 00FC           andi.l     D6, 0xFC
  413. 0000040E  206E FFF8                movea.l    A0, [A6 - 0x8]
  414. 00000412  2E10                     move.l     D7, [A0]
  415. 00000414  43EE FFFD                lea.l      A1, [A6 - 0x3]
  416. 00000418  2049                     movea.l    A0, A1
  417. 0000041A  1010                     move.b     D0, [A0]
  418. 0000041C  A05D                     syscall    SwapMMUMode
  419. 0000041E  1080                     move.b     [A0], D0
  420. 00000420  302E 000A                move.w     D0, [A6 + 0xA]
  421. 00000424  5340                     subq.w     D0, 1
  422. 00000426  670E                     beq        +0x10 /* 00000436 */
  423. 00000428  5340                     subq.w     D0, 1
  424. 0000042A  6712                     beq        +0x14 /* 0000043E */
  425. 0000042C  5540                     subq.w     D0, 2
  426. 0000042E  6722                     beq        +0x24 /* 00000452 */
  427. 00000430  5940                     subq.w     D0, 4
  428. 00000432  6732                     beq        +0x34 /* 00000466 */
  429. 00000434  6042                     bra        +0x44 /* 00000478 */
  430. label00000436:
  431. 00000436  0287 FFFF FFF9           andi.l     D7, 0xFFFFFFF9
  432. 0000043C  603A                     bra        +0x3C /* 00000478 */
  433. label0000043E:
  434. 0000043E  0287 FFFF FFF9           andi.l     D7, 0xFFFFFFF9
  435. 00000444  0087 0000 0002           ori.l      D7, 0x2
  436. 0000044A  0086 0000 0001           ori.l      D6, 0x1
  437. 00000450  6026                     bra        +0x28 /* 00000478 */
  438. label00000452:
  439. 00000452  0287 FFFF FFF9           andi.l     D7, 0xFFFFFFF9
  440. 00000458  0087 0000 0004           ori.l      D7, 0x4
  441. 0000045E  0086 0000 0002           ori.l      D6, 0x2
  442. 00000464  6012                     bra        +0x14 /* 00000478 */
  443. label00000466:
  444. 00000466  0287 FFFF FFF9           andi.l     D7, 0xFFFFFFF9
  445. 0000046C  0087 0000 0006           ori.l      D7, 0x6
  446. 00000472  0086 0000 0003           ori.l      D6, 0x3
  447. label00000478:
  448. 00000478  4A6E 000E                tst.w      [A6 + 0xE]
  449. 0000047C  6708                     beq        +0xA /* 00000486 */
  450. 0000047E  2F05                     move.l     -[A7], D5
  451. 00000480  4EBA FC0A                jsr        [PC - 0x3F6 /* 0000008C */]
  452. 00000484  584F                     addq.w     A7, 4
  453. label00000486:
  454. 00000486  1D7C 0001 FFFD           move.b     [A6 - 0x3], 0x1
  455. 0000048C  43EE FFFD                lea.l      A1, [A6 - 0x3]
  456. 00000490  2049                     movea.l    A0, A1
  457. 00000492  1010                     move.b     D0, [A0]
  458. 00000494  A05D                     syscall    SwapMMUMode
  459. 00000496  1080                     move.b     [A0], D0
  460. 00000498  206E FFF4                movea.l    A0, [A6 - 0xC]
  461. 0000049C  1086                     move.b     [A0], D6
  462. 0000049E  206E FFF8                movea.l    A0, [A6 - 0x8]
  463. 000004A2  2087                     move.l     [A0], D7
  464. 000004A4  7003                     moveq.l    D0, 0x03
  465. 000004A6  C06E FFFE                and.w      D0, [A6 - 0x2]
  466. 000004AA  7200                     moveq.l    D1, 0x00
  467. 000004AC  3200                     move.w     D1, D0
  468. 000004AE  4A81                     tst.l      D1
  469. 000004B0  2044                     movea.l    A0, D4
  470. 000004B2  2081                     move.l     [A0], D1
  471. 000004B4  43EE FFFD                lea.l      A1, [A6 - 0x3]
  472. 000004B8  2049                     movea.l    A0, A1
  473. 000004BA  1010                     move.b     D0, [A0]
  474. 000004BC  A05D                     syscall    SwapMMUMode
  475. 000004BE  1080                     move.b     [A0], D0
  476. 000004C0  7001                     moveq.l    D0, 0x01
  477. 000004C2  B06E 000A                cmp.w      D0, [A6 + 0xA]
  478. 000004C6  6676                     bne        +0x78 /* 0000053E */
  479. 000004C8  7000                     moveq.l    D0, 0x00
  480. 000004CA  102C 074E                move.b     D0, [A4 + 0x74E]
  481. 000004CE  4A80                     tst.l      D0
  482. 000004D0  6624                     bne        +0x26 /* 000004F6 */
  483. 000004D2  426C 0728                clr.w      [A4 + 0x728]
  484. 000004D6  426C 072A                clr.w      [A4 + 0x72A]
  485. 000004DA  2F0C                     move.l     -[A7], A4
  486. 000004DC  302C 072A                move.w     D0, [A4 + 0x72A]
  487. 000004E0  48C0                     ext.l      D0
  488. 000004E2  2F00                     move.l     -[A7], D0
  489. 000004E4  302C 0728                move.w     D0, [A4 + 0x728]
  490. 000004E8  48C0                     ext.l      D0
  491. 000004EA  2F00                     move.l     -[A7], D0
  492. 000004EC  4EBA 0174                jsr        [PC + 0x174 /* 00000662 */]
  493. 000004F0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  494. 000004F4  6048                     bra        +0x4A /* 0000053E */
  495. label000004F6:
  496. 000004F6  302C 072C                move.w     D0, [A4 + 0x72C]
  497. 000004FA  48C0                     ext.l      D0
  498. 000004FC  322C 0750                move.w     D1, [A4 + 0x750]
  499. 00000500  48C1                     ext.l      D1
  500. 00000502  9081                     sub.l      D0, D1
  501. 00000504  322C 0728                move.w     D1, [A4 + 0x728]
  502. 00000508  48C1                     ext.l      D1
  503. 0000050A  B081                     cmp.l      D0, D1
  504. 0000050C  6C0C                     bge        +0xE /* 0000051A */
  505. 0000050E  302C 072C                move.w     D0, [A4 + 0x72C]
  506. 00000512  906C 0750                sub.w      D0, [A4 + 0x750]
  507. 00000516  3940 0728                move.w     [A4 + 0x728], D0
  508. label0000051A:
  509. 0000051A  302C 072E                move.w     D0, [A4 + 0x72E]
  510. 0000051E  48C0                     ext.l      D0
  511. 00000520  322C 0752                move.w     D1, [A4 + 0x752]
  512. 00000524  48C1                     ext.l      D1
  513. 00000526  9081                     sub.l      D0, D1
  514. 00000528  322C 072A                move.w     D1, [A4 + 0x72A]
  515. 0000052C  48C1                     ext.l      D1
  516. 0000052E  B081                     cmp.l      D0, D1
  517. 00000530  6C0C                     bge        +0xE /* 0000053E */
  518. 00000532  302C 072E                move.w     D0, [A4 + 0x72E]
  519. 00000536  906C 0752                sub.w      D0, [A4 + 0x752]
  520. 0000053A  3940 072A                move.w     [A4 + 0x72A], D0
  521. label0000053E:
  522. 0000053E  4CEE 10F0 FFE0           movem.l    D4,D5,D6,D7,A4, [A6 - 0x20]
  523. 00000544  4E5E                     unlink     A6
  524. 00000546  4E75                     rts
  525. fn00000548:
  526. 00000548  4E56 0000                link       A6, 0
  527. 0000054C  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  528. 00000550  286E 0014                movea.l    A4, [A6 + 0x14]
  529. 00000554  302C 071C                move.w     D0, [A4 + 0x71C]
  530. 00000558  48C0                     ext.l      D0
  531. 0000055A  7218                     moveq.l    D1, 0x18
  532. 0000055C  E3A8                     lsl        D0, D1
  533. 0000055E  2A00                     move.l     D5, D0
  534. 00000560  8ABC F000 0000           or.l       D5, 0xF0000000
  535. 00000566  396E 000A 0728           move.w     [A4 + 0x728], [A6 + 0xA]
  536. 0000056C  396E 000E 072A           move.w     [A4 + 0x72A], [A6 + 0xE]
  537. 00000572  3C2C 072C                move.w     D6, [A4 + 0x72C]
  538. 00000576  3E2C 072E                move.w     D7, [A4 + 0x72E]
  539. 0000057A  302C 0722                move.w     D0, [A4 + 0x722]
  540. 0000057E  5340                     subq.w     D0, 1
  541. 00000580  6B7E                     bmi        +0x80 /* 00000600 */
  542. 00000582  0C40 0003                cmpi.w     D0, 0x3
  543. 00000586  6E78                     bgt        +0x7A /* 00000600 */
  544. 00000588  D040                     add.w      D0, D0
  545. 0000058A  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  546. 0000058E  4EFB 0000                jmp        [PC + D0.w]
  547. 00000592  000A 0024                ori.b      A2, 0x24 /* '$' */
  548. 00000596  002A 0044 7000           ori.b      [A2 + 0x7000], 0x44 /* 'D' */
  549. 0000059C  102C 074E                move.b     D0, [A4 + 0x74E]
  550. 000005A0  4A80                     tst.l      D0
  551. 000005A2  6606                     bne        +0x8 /* 000005AA */
  552. 000005A4  4247                     clr.w      D7
  553. 000005A6  4246                     clr.w      D6
  554. 000005A8  6056                     bra        +0x58 /* 00000600 */
  555. label000005AA:
  556. 000005AA  0446 0280                subi.w     D6, 0x280
  557. 000005AE  0447 01E0                subi.w     D7, 0x1E0
  558. 000005B2  604C                     bra        +0x4E /* 00000600 */
  559. 000005B4  E246                     asr        D6.w, 1
  560. 000005B6  E247                     asr        D7.w, 1
  561. 000005B8  6046                     bra        +0x48 /* 00000600 */
  562. 000005BA  3006                     move.w     D0, D6
  563. 000005BC  E240                     asr        D0.w, 1
  564. 000005BE  3206                     move.w     D1, D6
  565. 000005C0  E441                     asr        D1.w, 2
  566. 000005C2  D240                     add.w      D1, D0
  567. 000005C4  3C01                     move.w     D6, D1
  568. 000005C6  3007                     move.w     D0, D7
  569. 000005C8  E240                     asr        D0.w, 1
  570. 000005CA  3207                     move.w     D1, D7
  571. 000005CC  E441                     asr        D1.w, 2
  572. 000005CE  D240                     add.w      D1, D0
  573. 000005D0  3E01                     move.w     D7, D1
  574. 000005D2  602C                     bra        +0x2E /* 00000600 */
  575. 000005D4  3006                     move.w     D0, D6
  576. 000005D6  E240                     asr        D0.w, 1
  577. 000005D8  48C0                     ext.l      D0
  578. 000005DA  3206                     move.w     D1, D6
  579. 000005DC  E441                     asr        D1.w, 2
  580. 000005DE  48C1                     ext.l      D1
  581. 000005E0  D280                     add.l      D1, D0
  582. 000005E2  3006                     move.w     D0, D6
  583. 000005E4  E640                     asr        D0.w, 3
  584. 000005E6  D041                     add.w      D0, D1
  585. 000005E8  3C00                     move.w     D6, D0
  586. 000005EA  3007                     move.w     D0, D7
  587. 000005EC  E240                     asr        D0.w, 1
  588. 000005EE  48C0                     ext.l      D0
  589. 000005F0  3207                     move.w     D1, D7
  590. 000005F2  E441                     asr        D1.w, 2
  591. 000005F4  48C1                     ext.l      D1
  592. 000005F6  D280                     add.l      D1, D0
  593. 000005F8  3007                     move.w     D0, D7
  594. 000005FA  E640                     asr        D0.w, 3
  595. 000005FC  D041                     add.w      D0, D1
  596. 000005FE  3E00                     move.w     D7, D0
  597. label00000600:
  598. 00000600  7001                     moveq.l    D0, 0x01
  599. 00000602  B06C 0722                cmp.w      D0, [A4 + 0x722]
  600. 00000606  6614                     bne        +0x16 /* 0000061C */
  601. 00000608  7000                     moveq.l    D0, 0x00
  602. 0000060A  102C 074E                move.b     D0, [A4 + 0x74E]
  603. 0000060E  4A80                     tst.l      D0
  604. 00000610  660A                     bne        +0xC /* 0000061C */
  605. 00000612  426C 0728                clr.w      [A4 + 0x728]
  606. 00000616  426C 072A                clr.w      [A4 + 0x72A]
  607. 0000061A  6014                     bra        +0x16 /* 00000630 */
  608. label0000061C:
  609. 0000061C  BC6C 0728                cmp.w      D6, [A4 + 0x728]
  610. 00000620  6C04                     bge        +0x6 /* 00000626 */
  611. 00000622  3946 0728                move.w     [A4 + 0x728], D6
  612. label00000626:
  613. 00000626  BE6C 072A                cmp.w      D7, [A4 + 0x72A]
  614. 0000062A  6C04                     bge        +0x6 /* 00000630 */
  615. 0000062C  3947 072A                move.w     [A4 + 0x72A], D7
  616. label00000630:
  617. 00000630  4A6E 0012                tst.w      [A6 + 0x12]
  618. 00000634  6708                     beq        +0xA /* 0000063E */
  619. 00000636  2F05                     move.l     -[A7], D5
  620. 00000638  4EBA FA52                jsr        [PC - 0x5AE /* 0000008C */]
  621. 0000063C  584F                     addq.w     A7, 4
  622. label0000063E:
  623. 0000063E  2F0C                     move.l     -[A7], A4
  624. 00000640  302C 072A                move.w     D0, [A4 + 0x72A]
  625. 00000644  48C0                     ext.l      D0
  626. 00000646  2F00                     move.l     -[A7], D0
  627. 00000648  302C 0728                move.w     D0, [A4 + 0x728]
  628. 0000064C  48C0                     ext.l      D0
  629. 0000064E  2F00                     move.l     -[A7], D0
  630. 00000650  4EBA 0010                jsr        [PC + 0x10 /* 00000662 */]
  631. 00000654  4FEF 000C                lea.l      A7, [A7 + 0xC]
  632. 00000658  4CEE 10E0 FFF0           movem.l    D5,D6,D7,A4, [A6 - 0x10]
  633. 0000065E  4E5E                     unlink     A6
  634. 00000660  4E75                     rts
  635. fn00000662:
  636. 00000662  4E56 FFFE                link       A6, -0x0002
  637. 00000666  48E7 1708                movem.l    -[A7], D3,D5,D6,D7,A4
  638. 0000066A  286E 0010                movea.l    A4, [A6 + 0x10]
  639. 0000066E  302C 071C                move.w     D0, [A4 + 0x71C]
  640. 00000672  48C0                     ext.l      D0
  641. 00000674  7218                     moveq.l    D1, 0x18
  642. 00000676  E3A8                     lsl        D0, D1
  643. 00000678  2E00                     move.l     D7, D0
  644. 0000067A  8EBC F000 0000           or.l       D7, 0xF0000000
  645. 00000680  2A3C 00FE 6078           move.l     D5, 0xFE6078
  646. 00000686  8A87                     or.l       D5, D7
  647. 00000688  2C3C 00FE 607C           move.l     D6, 0xFE607C
  648. 0000068E  8C87                     or.l       D6, D7
  649. 00000690  7004                     moveq.l    D0, 0x04
  650. 00000692  B06C 0730                cmp.w      D0, [A4 + 0x730]
  651. 00000696  57C3                     seq        D3
  652. 00000698  4403                     neg.b      D3
  653. 0000069A  6708                     beq        +0xA /* 000006A4 */
  654. 0000069C  7005                     moveq.l    D0, 0x05
  655. 0000069E  906C 0730                sub.w      D0, [A4 + 0x730]
  656. 000006A2  6006                     bra        +0x8 /* 000006AA */
  657. label000006A4:
  658. 000006A4  7004                     moveq.l    D0, 0x04
  659. 000006A6  906C 0730                sub.w      D0, [A4 + 0x730]
  660. label000006AA:
  661. 000006AA  3E00                     move.w     D7, D0
  662. 000006AC  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  663. 000006B2  43EE FFFF                lea.l      A1, [A6 - 0x1]
  664. 000006B6  2049                     movea.l    A0, A1
  665. 000006B8  1010                     move.b     D0, [A0]
  666. 000006BA  A05D                     syscall    SwapMMUMode
  667. 000006BC  1080                     move.b     [A0], D0
  668. 000006BE  302E 000A                move.w     D0, [A6 + 0xA]
  669. 000006C2  EE60                     asr        D0.w, D7
  670. 000006C4  323C 01FF                move.w     D1, 0x1FF
  671. 000006C8  C240                     and.w      D1, D0
  672. 000006CA  7000                     moveq.l    D0, 0x00
  673. 000006CC  3001                     move.w     D0, D1
  674. 000006CE  4A80                     tst.l      D0
  675. 000006D0  2045                     movea.l    A0, D5
  676. 000006D2  2080                     move.l     [A0], D0
  677. 000006D4  303C 01FF                move.w     D0, 0x1FF
  678. 000006D8  C06E 000E                and.w      D0, [A6 + 0xE]
  679. 000006DC  7200                     moveq.l    D1, 0x00
  680. 000006DE  3200                     move.w     D1, D0
  681. 000006E0  4A81                     tst.l      D1
  682. 000006E2  2046                     movea.l    A0, D6
  683. 000006E4  2081                     move.l     [A0], D1
  684. 000006E6  43EE FFFF                lea.l      A1, [A6 - 0x1]
  685. 000006EA  2049                     movea.l    A0, A1
  686. 000006EC  1010                     move.b     D0, [A0]
  687. 000006EE  A05D                     syscall    SwapMMUMode
  688. 000006F0  1080                     move.b     [A0], D0
  689. 000006F2  4CEE 10E8 FFEA           movem.l    D3,D5,D6,D7,A4, [A6 - 0x16]
  690. 000006F8  4E5E                     unlink     A6
  691. 000006FA  4E75                     rts
  692. fn000006FC:
  693. 000006FC  4E56 0000                link       A6, 0
  694. 00000700  2F07                     move.l     -[A7], D7
  695. 00000702  3E2E 000A                move.w     D7, [A6 + 0xA]
  696. 00000706  BE6E 000E                cmp.w      D7, [A6 + 0xE]
  697. 0000070A  6D0C                     blt        +0xE /* 00000718 */
  698. 0000070C  BE6E 0012                cmp.w      D7, [A6 + 0x12]
  699. 00000710  6E06                     bgt        +0x8 /* 00000718 */
  700. 00000712  7001                     moveq.l    D0, 0x01
  701. 00000714  6004                     bra        +0x6 /* 0000071A */
  702. 00000716  6002                     bra        +0x4 /* 0000071A */
  703. label00000718:
  704. 00000718  7000                     moveq.l    D0, 0x00
  705. label0000071A:
  706. 0000071A  2E2E FFFC                move.l     D7, [A6 - 0x4]
  707. 0000071E  4E5E                     unlink     A6
  708. 00000720  4E75                     rts
  709. fn00000722:
  710. 00000722  4E56 FFFE                link       A6, -0x0002
  711. 00000726  48E7 0118                movem.l    -[A7], D7,A3,A4
  712. 0000072A  2E2E 0008                move.l     D7, [A6 + 0x8]
  713. 0000072E  266E 0010                movea.l    A3, [A6 + 0x10]
  714. 00000732  D7C7                     add.l      A3, D7
  715. 00000734  2847                     movea.l    A4, D7
  716. 00000736  D9FC 00FE 6018           add.l      A4, 0xFE6018
  717. 0000073C  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  718. 00000742  43EE FFFF                lea.l      A1, [A6 - 0x1]
  719. 00000746  2049                     movea.l    A0, A1
  720. 00000748  1010                     move.b     D0, [A0]
  721. 0000074A  A05D                     syscall    SwapMMUMode
  722. 0000074C  1080                     move.b     [A0], D0
  723. 0000074E  2E14                     move.l     D7, [A4]
  724. 00000750  302E 000E                move.w     D0, [A6 + 0xE]
  725. 00000754  48C0                     ext.l      D0
  726. 00000756  2880                     move.l     [A4], D0
  727. 00000758  36AE 0016                move.w     [A3], [A6 + 0x16]
  728. 0000075C  2887                     move.l     [A4], D7
  729. 0000075E  43EE FFFF                lea.l      A1, [A6 - 0x1]
  730. 00000762  2049                     movea.l    A0, A1
  731. 00000764  1010                     move.b     D0, [A0]
  732. 00000766  A05D                     syscall    SwapMMUMode
  733. 00000768  1080                     move.b     [A0], D0
  734. 0000076A  4CEE 1880 FFF2           movem.l    D7,A3,A4, [A6 - 0xE]
  735. 00000770  4E5E                     unlink     A6
  736. 00000772  4E75                     rts
  737. fn00000774:
  738. 00000774  4E56 FFFE                link       A6, -0x0002
  739. 00000778  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  740. 0000077C  3C2E 0016                move.w     D6, [A6 + 0x16]
  741. 00000780  2E2E 0008                move.l     D7, [A6 + 0x8]
  742. 00000784  266E 0010                movea.l    A3, [A6 + 0x10]
  743. 00000788  D7C7                     add.l      A3, D7
  744. 0000078A  2847                     movea.l    A4, D7
  745. 0000078C  D9FC 00FE 6018           add.l      A4, 0xFE6018
  746. 00000792  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  747. 00000798  43EE FFFF                lea.l      A1, [A6 - 0x1]
  748. 0000079C  2049                     movea.l    A0, A1
  749. 0000079E  1010                     move.b     D0, [A0]
  750. 000007A0  A05D                     syscall    SwapMMUMode
  751. 000007A2  1080                     move.b     [A0], D0
  752. 000007A4  2E14                     move.l     D7, [A4]
  753. 000007A6  302E 000E                move.w     D0, [A6 + 0xE]
  754. 000007AA  48C0                     ext.l      D0
  755. 000007AC  2880                     move.l     [A4], D0
  756. 000007AE  4A6E 001A                tst.w      [A6 + 0x1A]
  757. 000007B2  6708                     beq        +0xA /* 000007BC */
  758. 000007B4  7001                     moveq.l    D0, 0x01
  759. 000007B6  EDA8                     lsl        D0, D6
  760. 000007B8  8153                     or.w       [A3], D0
  761. 000007BA  6008                     bra        +0xA /* 000007C4 */
  762. label000007BC:
  763. 000007BC  7001                     moveq.l    D0, 0x01
  764. 000007BE  EDA8                     lsl        D0, D6
  765. 000007C0  4680                     not.l      D0
  766. 000007C2  C153                     and.w      [A3], D0
  767. label000007C4:
  768. 000007C4  2887                     move.l     [A4], D7
  769. 000007C6  43EE FFFF                lea.l      A1, [A6 - 0x1]
  770. 000007CA  2049                     movea.l    A0, A1
  771. 000007CC  1010                     move.b     D0, [A0]
  772. 000007CE  A05D                     syscall    SwapMMUMode
  773. 000007D0  1080                     move.b     [A0], D0
  774. 000007D2  4CEE 18C0 FFEE           movem.l    D6,D7,A3,A4, [A6 - 0x12]
  775. 000007D8  4E5E                     unlink     A6
  776. 000007DA  4E75                     rts
  777. fn000007DC:
  778. 000007DC  4E56 FFFE                link       A6, -0x0002
  779. 000007E0  48E7 0118                movem.l    -[A7], D7,A3,A4
  780. 000007E4  2E2E 0008                move.l     D7, [A6 + 0x8]
  781. 000007E8  266E 0010                movea.l    A3, [A6 + 0x10]
  782. 000007EC  D7C7                     add.l      A3, D7
  783. 000007EE  2847                     movea.l    A4, D7
  784. 000007F0  D9FC 00FE 6018           add.l      A4, 0xFE6018
  785. 000007F6  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  786. 000007FC  43EE FFFF                lea.l      A1, [A6 - 0x1]
  787. 00000800  2049                     movea.l    A0, A1
  788. 00000802  1010                     move.b     D0, [A0]
  789. 00000804  A05D                     syscall    SwapMMUMode
  790. 00000806  1080                     move.b     [A0], D0
  791. 00000808  2E14                     move.l     D7, [A4]
  792. 0000080A  302E 000E                move.w     D0, [A6 + 0xE]
  793. 0000080E  48C0                     ext.l      D0
  794. 00000810  2880                     move.l     [A4], D0
  795. 00000812  302E 0016                move.w     D0, [A6 + 0x16]
  796. 00000816  4640                     not.w      D0
  797. 00000818  C153                     and.w      [A3], D0
  798. 0000081A  302E 001A                move.w     D0, [A6 + 0x1A]
  799. 0000081E  8153                     or.w       [A3], D0
  800. 00000820  2887                     move.l     [A4], D7
  801. 00000822  43EE FFFF                lea.l      A1, [A6 - 0x1]
  802. 00000826  2049                     movea.l    A0, A1
  803. 00000828  1010                     move.b     D0, [A0]
  804. 0000082A  A05D                     syscall    SwapMMUMode
  805. 0000082C  1080                     move.b     [A0], D0
  806. 0000082E  4CEE 1880 FFF2           movem.l    D7,A3,A4, [A6 - 0xE]
  807. 00000834  4E5E                     unlink     A6
  808. 00000836  4E75                     rts
  809. fn00000838:
  810. 00000838  4E56 FFF6                link       A6, -0x000A
  811. 0000083C  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  812. 00000840  282E 0008                move.l     D4, [A6 + 0x8]
  813. 00000844  4878 03FF                push.l     0x3FF
  814. 00000848  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  815. 0000084E  7002                     moveq.l    D0, 0x02
  816. 00000850  2F00                     move.l     -[A7], D0
  817. 00000852  2F04                     move.l     -[A7], D4
  818. 00000854  4EBA 026A                jsr        [PC + 0x26A /* 00000AC0 */]
  819. 00000858  2D40 FFF6                move.l     [A6 - 0xA], D0
  820. 0000085C  4878 03FF                push.l     0x3FF
  821. 00000860  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  822. 00000866  7002                     moveq.l    D0, 0x02
  823. 00000868  2F00                     move.l     -[A7], D0
  824. 0000086A  2F04                     move.l     -[A7], D4
  825. 0000086C  4EBA 0252                jsr        [PC + 0x252 /* 00000AC0 */]
  826. 00000870  222E FFF6                move.l     D1, [A6 - 0xA]
  827. 00000874  9240                     sub.w      D1, D0
  828. 00000876  3D41 FFFA                move.w     [A6 - 0x6], D1
  829. 0000087A  426E FFFC                clr.w      [A6 - 0x4]
  830. 0000087E  3C2E 000E                move.w     D6, [A6 + 0xE]
  831. 00000882  7009                     moveq.l    D0, 0x09
  832. 00000884  2F00                     move.l     -[A7], D0
  833. 00000886  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  834. 0000088C  7203                     moveq.l    D1, 0x03
  835. 0000088E  2F01                     move.l     -[A7], D1
  836. 00000890  2F04                     move.l     -[A7], D4
  837. 00000892  4EBA 028E                jsr        [PC + 0x28E /* 00000B22 */]
  838. 00000896  4A40                     tst.w      D0
  839. 00000898  4FEF 0030                lea.l      A7, [A7 + 0x30]
  840. 0000089C  6706                     beq        +0x8 /* 000008A4 */
  841. 0000089E  9C6E FFFA                sub.w      D6, [A6 - 0x6]
  842. 000008A2  6026                     bra        +0x28 /* 000008CA */
  843. label000008A4:
  844. 000008A4  7004                     moveq.l    D0, 0x04
  845. 000008A6  2F00                     move.l     -[A7], D0
  846. 000008A8  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  847. 000008AE  7203                     moveq.l    D1, 0x03
  848. 000008B0  2F01                     move.l     -[A7], D1
  849. 000008B2  2F04                     move.l     -[A7], D4
  850. 000008B4  4EBA 026C                jsr        [PC + 0x26C /* 00000B22 */]
  851. 000008B8  4A40                     tst.w      D0
  852. 000008BA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  853. 000008BE  670A                     beq        +0xC /* 000008CA */
  854. 000008C0  3006                     move.w     D0, D6
  855. 000008C2  48C0                     ext.l      D0
  856. 000008C4  81FC 0002                divs.w     D0, 0x2
  857. 000008C8  3C00                     move.w     D6, D0
  858. label000008CA:
  859. 000008CA  7E07                     moveq.l    D7, 0x07
  860. label000008CC:
  861. 000008CC  4A46                     tst.w      D6
  862. 000008CE  6F38                     ble        +0x3A /* 00000908 */
  863. 000008D0  7007                     moveq.l    D0, 0x07
  864. 000008D2  9007                     sub.b      D0, D7
  865. 000008D4  7801                     moveq.l    D4, 0x01
  866. 000008D6  E1AC                     lsl        D4, D0
  867. 000008D8  D86E FFFA                add.w      D4, [A6 - 0x6]
  868. 000008DC  7008                     moveq.l    D0, 0x08
  869. 000008DE  9007                     sub.b      D0, D7
  870. 000008E0  7201                     moveq.l    D1, 0x01
  871. 000008E2  E1A9                     lsl        D1, D0
  872. 000008E4  3D41 FFFE                move.w     [A6 - 0x2], D1
  873. 000008E8  3004                     move.w     D0, D4
  874. 000008EA  48C0                     ext.l      D0
  875. 000008EC  81EE FFFE                divs.w     D0, [A6 - 0x2]
  876. 000008F0  3A00                     move.w     D5, D0
  877. 000008F2  BC45                     cmp.w      D6, D5
  878. 000008F4  6D0E                     blt        +0x10 /* 00000904 */
  879. 000008F6  9C45                     sub.w      D6, D5
  880. 000008F8  7001                     moveq.l    D0, 0x01
  881. 000008FA  EFA8                     lsl        D0, D7
  882. 000008FC  816E FFFC                or.w       [A6 - 0x4], D0
  883. 00000900  6002                     bra        +0x4 /* 00000904 */
  884. 00000902  6004                     bra        +0x6 /* 00000908 */
  885. label00000904:
  886. 00000904  51CF FFC6                dbf        D7, -0x3C /* 000008CC */
  887. label00000908:
  888. 00000908  302E FFFC                move.w     D0, [A6 - 0x4]
  889. 0000090C  4CEE 00F0 FFE6           movem.l    D4,D5,D6,D7, [A6 - 0x1A]
  890. 00000912  4E5E                     unlink     A6
  891. 00000914  4E75                     rts
  892. fn00000916:
  893. 00000916  4E56 FFF6                link       A6, -0x000A
  894. 0000091A  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  895. 0000091E  206E 0008                movea.l    A0, [A6 + 0x8]
  896. 00000922  2C10                     move.l     D6, [A0]
  897. 00000924  4878 03FF                push.l     0x3FF
  898. 00000928  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  899. 0000092E  7002                     moveq.l    D0, 0x02
  900. 00000930  2F00                     move.l     -[A7], D0
  901. 00000932  2F06                     move.l     -[A7], D6
  902. 00000934  4EBA 018A                jsr        [PC + 0x18A /* 00000AC0 */]
  903. 00000938  2D40 FFF6                move.l     [A6 - 0xA], D0
  904. 0000093C  4878 03FF                push.l     0x3FF
  905. 00000940  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  906. 00000946  7002                     moveq.l    D0, 0x02
  907. 00000948  2F00                     move.l     -[A7], D0
  908. 0000094A  2F06                     move.l     -[A7], D6
  909. 0000094C  4EBA 0172                jsr        [PC + 0x172 /* 00000AC0 */]
  910. 00000950  222E FFF6                move.l     D1, [A6 - 0xA]
  911. 00000954  9240                     sub.w      D1, D0
  912. 00000956  3D41 FFFA                move.w     [A6 - 0x6], D1
  913. 0000095A  046E 000F FFFA           subi.w     [A6 - 0x6], 0xF
  914. 00000960  426E FFFC                clr.w      [A6 - 0x4]
  915. 00000964  3C2E 000E                move.w     D6, [A6 + 0xE]
  916. 00000968  7E09                     moveq.l    D7, 0x09
  917. 0000096A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  918. label0000096E:
  919. 0000096E  4A46                     tst.w      D6
  920. 00000970  6F38                     ble        +0x3A /* 000009AA */
  921. 00000972  7009                     moveq.l    D0, 0x09
  922. 00000974  9007                     sub.b      D0, D7
  923. 00000976  7801                     moveq.l    D4, 0x01
  924. 00000978  E1AC                     lsl        D4, D0
  925. 0000097A  D86E FFFA                add.w      D4, [A6 - 0x6]
  926. 0000097E  700A                     moveq.l    D0, 0x0A
  927. 00000980  9007                     sub.b      D0, D7
  928. 00000982  7201                     moveq.l    D1, 0x01
  929. 00000984  E1A9                     lsl        D1, D0
  930. 00000986  3D41 FFFE                move.w     [A6 - 0x2], D1
  931. 0000098A  3004                     move.w     D0, D4
  932. 0000098C  48C0                     ext.l      D0
  933. 0000098E  81EE FFFE                divs.w     D0, [A6 - 0x2]
  934. 00000992  3A00                     move.w     D5, D0
  935. 00000994  BC45                     cmp.w      D6, D5
  936. 00000996  6D0E                     blt        +0x10 /* 000009A6 */
  937. 00000998  9C45                     sub.w      D6, D5
  938. 0000099A  7001                     moveq.l    D0, 0x01
  939. 0000099C  EFA8                     lsl        D0, D7
  940. 0000099E  816E FFFC                or.w       [A6 - 0x4], D0
  941. 000009A2  6002                     bra        +0x4 /* 000009A6 */
  942. 000009A4  6004                     bra        +0x6 /* 000009AA */
  943. label000009A6:
  944. 000009A6  51CF FFC6                dbf        D7, -0x3C /* 0000096E */
  945. label000009AA:
  946. 000009AA  302E FFFC                move.w     D0, [A6 - 0x4]
  947. 000009AE  4CEE 00F0 FFE6           movem.l    D4,D5,D6,D7, [A6 - 0x1A]
  948. 000009B4  4E5E                     unlink     A6
  949. 000009B6  4E75                     rts
  950. fn000009B8:
  951. 000009B8  4E56 FFEA                link       A6, -0x0016
  952. 000009BC  48E7 1300                movem.l    -[A7], D3,D6,D7
  953. 000009C0  2E2E 0008                move.l     D7, [A6 + 0x8]
  954. 000009C4  4246                     clr.w      D6
  955. 000009C6  7000                     moveq.l    D0, 0x00
  956. 000009C8  2F00                     move.l     -[A7], D0
  957. 000009CA  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  958. 000009D0  7203                     moveq.l    D1, 0x03
  959. 000009D2  2F01                     move.l     -[A7], D1
  960. 000009D4  2F07                     move.l     -[A7], D7
  961. 000009D6  4EBA 014A                jsr        [PC + 0x14A /* 00000B22 */]
  962. 000009DA  4A40                     tst.w      D0
  963. 000009DC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  964. 000009E0  6700 00D2                beq        +0xD4 /* 00000AB4 */
  965. 000009E4  7600                     moveq.l    D3, 0x00
  966. 000009E6  2F03                     move.l     -[A7], D3
  967. 000009E8  7005                     moveq.l    D0, 0x05
  968. 000009EA  2F00                     move.l     -[A7], D0
  969. 000009EC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  970. 000009F2  7203                     moveq.l    D1, 0x03
  971. 000009F4  2F01                     move.l     -[A7], D1
  972. 000009F6  2F07                     move.l     -[A7], D7
  973. 000009F8  4EBA 0128                jsr        [PC + 0x128 /* 00000B22 */]
  974. 000009FC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  975. 00000A00  261F                     move.l     D3, [A7]+
  976. 00000A02  4A40                     tst.w      D0
  977. 00000A04  6722                     beq        +0x24 /* 00000A28 */
  978. 00000A06  2F03                     move.l     -[A7], D3
  979. 00000A08  7002                     moveq.l    D0, 0x02
  980. 00000A0A  2F00                     move.l     -[A7], D0
  981. 00000A0C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  982. 00000A12  7203                     moveq.l    D1, 0x03
  983. 00000A14  2F01                     move.l     -[A7], D1
  984. 00000A16  2F07                     move.l     -[A7], D7
  985. 00000A18  4EBA 0108                jsr        [PC + 0x108 /* 00000B22 */]
  986. 00000A1C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  987. 00000A20  261F                     move.l     D3, [A7]+
  988. 00000A22  4A40                     tst.w      D0
  989. 00000A24  6702                     beq        +0x4 /* 00000A28 */
  990. 00000A26  7601                     moveq.l    D3, 0x01
  991. label00000A28:
  992. 00000A28  4883                     ext.w      D3
  993. 00000A2A  3C03                     move.w     D6, D3
  994. 00000A2C  671C                     beq        +0x1E /* 00000A4A */
  995. 00000A2E  7000                     moveq.l    D0, 0x00
  996. 00000A30  2F00                     move.l     -[A7], D0
  997. 00000A32  7205                     moveq.l    D1, 0x05
  998. 00000A34  2F01                     move.l     -[A7], D1
  999. 00000A36  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1000. 00000A3C  7003                     moveq.l    D0, 0x03
  1001. 00000A3E  2F00                     move.l     -[A7], D0
  1002. 00000A40  2F07                     move.l     -[A7], D7
  1003. 00000A42  4EBA FD30                jsr        [PC - 0x2D0 /* 00000774 */]
  1004. 00000A46  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1005. label00000A4A:
  1006. 00000A4A  7000                     moveq.l    D0, 0x00
  1007. 00000A4C  2D40 FFF0                move.l     [A6 - 0x10], D0
  1008. 00000A50  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1009. 00000A54  2049                     movea.l    A0, A1
  1010. 00000A56  A058                     syscall    InsTime
  1011. 00000A58  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1012. 00000A5C  2049                     movea.l    A0, A1
  1013. 00000A5E  203C FFFE A070           move.l     D0, 0xFFFEA070
  1014. 00000A64  A05A                     syscall    PrimeTime
  1015. 00000A66  601C                     bra        +0x1E /* 00000A84 */
  1016. label00000A68:
  1017. 00000A68  7000                     moveq.l    D0, 0x00
  1018. 00000A6A  2F00                     move.l     -[A7], D0
  1019. 00000A6C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1020. 00000A72  7203                     moveq.l    D1, 0x03
  1021. 00000A74  2F01                     move.l     -[A7], D1
  1022. 00000A76  2F07                     move.l     -[A7], D7
  1023. 00000A78  4EBA 00A8                jsr        [PC + 0xA8 /* 00000B22 */]
  1024. 00000A7C  4A40                     tst.w      D0
  1025. 00000A7E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1026. 00000A82  6706                     beq        +0x8 /* 00000A8A */
  1027. label00000A84:
  1028. 00000A84  4A6E FFEE                tst.w      [A6 - 0x12]
  1029. 00000A88  6DDE                     blt        -0x20 /* 00000A68 */
  1030. label00000A8A:
  1031. 00000A8A  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1032. 00000A8E  2049                     movea.l    A0, A1
  1033. 00000A90  A059                     syscall    RmvTime
  1034. 00000A92  4AAE FFF4                tst.l      [A6 - 0xC]
  1035. 00000A96  6E1C                     bgt        +0x1E /* 00000AB4 */
  1036. 00000A98  7000                     moveq.l    D0, 0x00
  1037. 00000A9A  2F00                     move.l     -[A7], D0
  1038. 00000A9C  7205                     moveq.l    D1, 0x05
  1039. 00000A9E  2F01                     move.l     -[A7], D1
  1040. 00000AA0  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1041. 00000AA6  7003                     moveq.l    D0, 0x03
  1042. 00000AA8  2F00                     move.l     -[A7], D0
  1043. 00000AAA  2F07                     move.l     -[A7], D7
  1044. 00000AAC  4EBA FCC6                jsr        [PC - 0x33A /* 00000774 */]
  1045. 00000AB0  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1046. label00000AB4:
  1047. 00000AB4  3006                     move.w     D0, D6
  1048. 00000AB6  4CEE 00C8 FFDE           movem.l    D3,D6,D7, [A6 - 0x22]
  1049. 00000ABC  4E5E                     unlink     A6
  1050. 00000ABE  4E75                     rts
  1051. fn00000AC0:
  1052. 00000AC0  4E56 FFFE                link       A6, -0x0002
  1053. 00000AC4  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1054. 00000AC8  2E2E 0008                move.l     D7, [A6 + 0x8]
  1055. 00000ACC  2847                     movea.l    A4, D7
  1056. 00000ACE  D9FC 00FE 6018           add.l      A4, 0xFE6018
  1057. 00000AD4  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1058. 00000ADA  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1059. 00000ADE  2049                     movea.l    A0, A1
  1060. 00000AE0  1010                     move.b     D0, [A0]
  1061. 00000AE2  A05D                     syscall    SwapMMUMode
  1062. 00000AE4  1080                     move.b     [A0], D0
  1063. 00000AE6  2C14                     move.l     D6, [A4]
  1064. 00000AE8  302E 000E                move.w     D0, [A6 + 0xE]
  1065. 00000AEC  48C0                     ext.l      D0
  1066. 00000AEE  2880                     move.l     [A4], D0
  1067. 00000AF0  202E 0010                move.l     D0, [A6 + 0x10]
  1068. 00000AF4  D087                     add.l      D0, D7
  1069. 00000AF6  2040                     movea.l    A0, D0
  1070. 00000AF8  3A10                     move.w     D5, [A0]
  1071. 00000AFA  2886                     move.l     [A4], D6
  1072. 00000AFC  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1073. 00000B00  2049                     movea.l    A0, A1
  1074. 00000B02  1010                     move.b     D0, [A0]
  1075. 00000B04  A05D                     syscall    SwapMMUMode
  1076. 00000B06  1080                     move.b     [A0], D0
  1077. 00000B08  7000                     moveq.l    D0, 0x00
  1078. 00000B0A  3005                     move.w     D0, D5
  1079. 00000B0C  4A80                     tst.l      D0
  1080. 00000B0E  322E 0016                move.w     D1, [A6 + 0x16]
  1081. 00000B12  48C1                     ext.l      D1
  1082. 00000B14  C240                     and.w      D1, D0
  1083. 00000B16  3001                     move.w     D0, D1
  1084. 00000B18  4CEE 10E0 FFEE           movem.l    D5,D6,D7,A4, [A6 - 0x12]
  1085. 00000B1E  4E5E                     unlink     A6
  1086. 00000B20  4E75                     rts
  1087. fn00000B22:
  1088. 00000B22  4E56 FFFE                link       A6, -0x0002
  1089. 00000B26  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1090. 00000B2A  2E2E 0008                move.l     D7, [A6 + 0x8]
  1091. 00000B2E  2847                     movea.l    A4, D7
  1092. 00000B30  D9FC 00FE 6018           add.l      A4, 0xFE6018
  1093. 00000B36  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1094. 00000B3C  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1095. 00000B40  2049                     movea.l    A0, A1
  1096. 00000B42  1010                     move.b     D0, [A0]
  1097. 00000B44  A05D                     syscall    SwapMMUMode
  1098. 00000B46  1080                     move.b     [A0], D0
  1099. 00000B48  2C14                     move.l     D6, [A4]
  1100. 00000B4A  302E 000E                move.w     D0, [A6 + 0xE]
  1101. 00000B4E  48C0                     ext.l      D0
  1102. 00000B50  2880                     move.l     [A4], D0
  1103. 00000B52  202E 0010                move.l     D0, [A6 + 0x10]
  1104. 00000B56  D087                     add.l      D0, D7
  1105. 00000B58  2040                     movea.l    A0, D0
  1106. 00000B5A  7000                     moveq.l    D0, 0x00
  1107. 00000B5C  3010                     move.w     D0, [A0]
  1108. 00000B5E  4A80                     tst.l      D0
  1109. 00000B60  322E 0016                move.w     D1, [A6 + 0x16]
  1110. 00000B64  7401                     moveq.l    D2, 0x01
  1111. 00000B66  E3AA                     lsl        D2, D1
  1112. 00000B68  C480                     and.l      D2, D0
  1113. 00000B6A  6704                     beq        +0x6 /* 00000B70 */
  1114. 00000B6C  7001                     moveq.l    D0, 0x01
  1115. 00000B6E  6002                     bra        +0x4 /* 00000B72 */
  1116. label00000B70:
  1117. 00000B70  7000                     moveq.l    D0, 0x00
  1118. label00000B72:
  1119. 00000B72  4880                     ext.w      D0
  1120. 00000B74  3A00                     move.w     D5, D0
  1121. 00000B76  2886                     move.l     [A4], D6
  1122. 00000B78  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1123. 00000B7C  2049                     movea.l    A0, A1
  1124. 00000B7E  1010                     move.b     D0, [A0]
  1125. 00000B80  A05D                     syscall    SwapMMUMode
  1126. 00000B82  1080                     move.b     [A0], D0
  1127. 00000B84  3005                     move.w     D0, D5
  1128. 00000B86  4CEE 10E0 FFEE           movem.l    D5,D6,D7,A4, [A6 - 0x12]
  1129. 00000B8C  4E5E                     unlink     A6
  1130. 00000B8E  4E75                     rts
  1131. fn00000B90:
  1132. 00000B90  4E56 FFFE                link       A6, -0x0002
  1133. 00000B94  2F07                     move.l     -[A7], D7
  1134. 00000B96  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1135. 00000B9C  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1136. 00000BA0  2049                     movea.l    A0, A1
  1137. 00000BA2  1010                     move.b     D0, [A0]
  1138. 00000BA4  A05D                     syscall    SwapMMUMode
  1139. 00000BA6  1080                     move.b     [A0], D0
  1140. 00000BA8  202E 000C                move.l     D0, [A6 + 0xC]
  1141. 00000BAC  D0AE 0008                add.l      D0, [A6 + 0x8]
  1142. 00000BB0  2040                     movea.l    A0, D0
  1143. 00000BB2  3E28 0002                move.w     D7, [A0 + 0x2]
  1144. 00000BB6  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1145. 00000BBA  2049                     movea.l    A0, A1
  1146. 00000BBC  1010                     move.b     D0, [A0]
  1147. 00000BBE  A05D                     syscall    SwapMMUMode
  1148. 00000BC0  1080                     move.b     [A0], D0
  1149. 00000BC2  3007                     move.w     D0, D7
  1150. 00000BC4  2E2E FFFA                move.l     D7, [A6 - 0x6]
  1151. 00000BC8  4E5E                     unlink     A6
  1152. 00000BCA  4E75                     rts
  1153. fn00000BCC:
  1154. 00000BCC  4E56 FFF8                link       A6, -0x0008
  1155. 00000BD0  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  1156. 00000BD4  4878 03FF                push.l     0x3FF
  1157. 00000BD8  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1158. 00000BDE  7002                     moveq.l    D0, 0x02
  1159. 00000BE0  2F00                     move.l     -[A7], D0
  1160. 00000BE2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1161. 00000BE6  4EBA FED8                jsr        [PC - 0x128 /* 00000AC0 */]
  1162. 00000BEA  2D40 FFF8                move.l     [A6 - 0x8], D0
  1163. 00000BEE  4878 03FF                push.l     0x3FF
  1164. 00000BF2  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  1165. 00000BF8  7002                     moveq.l    D0, 0x02
  1166. 00000BFA  2F00                     move.l     -[A7], D0
  1167. 00000BFC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1168. 00000C00  4EBA FEBE                jsr        [PC - 0x142 /* 00000AC0 */]
  1169. 00000C04  222E FFF8                move.l     D1, [A6 - 0x8]
  1170. 00000C08  9240                     sub.w      D1, D0
  1171. 00000C0A  3D41 FFFE                move.w     [A6 - 0x2], D1
  1172. 00000C0E  4878 01FF                push.l     0x1FF
  1173. 00000C12  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  1174. 00000C18  7002                     moveq.l    D0, 0x02
  1175. 00000C1A  2F00                     move.l     -[A7], D0
  1176. 00000C1C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1177. 00000C20  4EBA FE9E                jsr        [PC - 0x162 /* 00000AC0 */]
  1178. 00000C24  3D40 FFFC                move.w     [A6 - 0x4], D0
  1179. 00000C28  303C 0100                move.w     D0, 0x100
  1180. 00000C2C  C06E FFFC                and.w      D0, [A6 - 0x4]
  1181. 00000C30  4FEF 0030                lea.l      A7, [A7 + 0x30]
  1182. 00000C34  6706                     beq        +0x8 /* 00000C3C */
  1183. 00000C36  382E FFFE                move.w     D4, [A6 - 0x2]
  1184. 00000C3A  6032                     bra        +0x34 /* 00000C6E */
  1185. label00000C3C:
  1186. 00000C3C  4244                     clr.w      D4
  1187. 00000C3E  7E07                     moveq.l    D7, 0x07
  1188. label00000C40:
  1189. 00000C40  302E FFFC                move.w     D0, [A6 - 0x4]
  1190. 00000C44  48C0                     ext.l      D0
  1191. 00000C46  7201                     moveq.l    D1, 0x01
  1192. 00000C48  EFA9                     lsl        D1, D7
  1193. 00000C4A  C280                     and.l      D1, D0
  1194. 00000C4C  671C                     beq        +0x1E /* 00000C6A */
  1195. 00000C4E  7007                     moveq.l    D0, 0x07
  1196. 00000C50  9007                     sub.b      D0, D7
  1197. 00000C52  7C01                     moveq.l    D6, 0x01
  1198. 00000C54  E1AE                     lsl        D6, D0
  1199. 00000C56  DC6E FFFE                add.w      D6, [A6 - 0x2]
  1200. 00000C5A  7008                     moveq.l    D0, 0x08
  1201. 00000C5C  9007                     sub.b      D0, D7
  1202. 00000C5E  7A01                     moveq.l    D5, 0x01
  1203. 00000C60  E1AD                     lsl        D5, D0
  1204. 00000C62  3006                     move.w     D0, D6
  1205. 00000C64  48C0                     ext.l      D0
  1206. 00000C66  81C5                     divs.w     D0, D5
  1207. 00000C68  D840                     add.w      D4, D0
  1208. label00000C6A:
  1209. 00000C6A  51CF FFD4                dbf        D7, -0x2E /* 00000C40 */
  1210. label00000C6E:
  1211. 00000C6E  7009                     moveq.l    D0, 0x09
  1212. 00000C70  2F00                     move.l     -[A7], D0
  1213. 00000C72  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1214. 00000C78  7203                     moveq.l    D1, 0x03
  1215. 00000C7A  2F01                     move.l     -[A7], D1
  1216. 00000C7C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1217. 00000C80  4EBA FEA0                jsr        [PC - 0x160 /* 00000B22 */]
  1218. 00000C84  4A40                     tst.w      D0
  1219. 00000C86  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1220. 00000C8A  6706                     beq        +0x8 /* 00000C92 */
  1221. 00000C8C  D86E FFFE                add.w      D4, [A6 - 0x2]
  1222. 00000C90  6022                     bra        +0x24 /* 00000CB4 */
  1223. label00000C92:
  1224. 00000C92  7004                     moveq.l    D0, 0x04
  1225. 00000C94  2F00                     move.l     -[A7], D0
  1226. 00000C96  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1227. 00000C9C  7203                     moveq.l    D1, 0x03
  1228. 00000C9E  2F01                     move.l     -[A7], D1
  1229. 00000CA0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1230. 00000CA4  4EBA FE7C                jsr        [PC - 0x184 /* 00000B22 */]
  1231. 00000CA8  4A40                     tst.w      D0
  1232. 00000CAA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1233. 00000CAE  6704                     beq        +0x6 /* 00000CB4 */
  1234. 00000CB0  48C4                     ext.l      D4
  1235. 00000CB2  D884                     add.l      D4, D4
  1236. label00000CB4:
  1237. 00000CB4  3004                     move.w     D0, D4
  1238. 00000CB6  4CEE 00F0 FFE8           movem.l    D4,D5,D6,D7, [A6 - 0x18]
  1239. 00000CBC  4E5E                     unlink     A6
  1240. 00000CBE  4E75                     rts
  1241. fn00000CC0:
  1242. 00000CC0  4E56 FFF8                link       A6, -0x0008
  1243. 00000CC4  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  1244. 00000CC8  286E 0008                movea.l    A4, [A6 + 0x8]
  1245. 00000CCC  7062                     moveq.l    D0, 0x62
  1246. 00000CCE  B06C 0146                cmp.w      D0, [A4 + 0x146]
  1247. 00000CD2  6608                     bne        +0xA /* 00000CDC */
  1248. 00000CD4  382C 0024                move.w     D4, [A4 + 0x24]
  1249. 00000CD8  6000 00B2                bra        +0xB4 /* 00000D8C */
  1250. label00000CDC:
  1251. 00000CDC  2A14                     move.l     D5, [A4]
  1252. 00000CDE  4878 03FF                push.l     0x3FF
  1253. 00000CE2  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1254. 00000CE8  7002                     moveq.l    D0, 0x02
  1255. 00000CEA  2F00                     move.l     -[A7], D0
  1256. 00000CEC  2F05                     move.l     -[A7], D5
  1257. 00000CEE  4EBA FDD0                jsr        [PC - 0x230 /* 00000AC0 */]
  1258. 00000CF2  3D40 FFFC                move.w     [A6 - 0x4], D0
  1259. 00000CF6  4878 03FF                push.l     0x3FF
  1260. 00000CFA  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  1261. 00000D00  7002                     moveq.l    D0, 0x02
  1262. 00000D02  2F00                     move.l     -[A7], D0
  1263. 00000D04  2F05                     move.l     -[A7], D5
  1264. 00000D06  4EBA FDB8                jsr        [PC - 0x248 /* 00000AC0 */]
  1265. 00000D0A  2D40 FFF8                move.l     [A6 - 0x8], D0
  1266. 00000D0E  4878 03FF                push.l     0x3FF
  1267. 00000D12  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  1268. 00000D18  7002                     moveq.l    D0, 0x02
  1269. 00000D1A  2F00                     move.l     -[A7], D0
  1270. 00000D1C  2F05                     move.l     -[A7], D5
  1271. 00000D1E  4EBA FDA0                jsr        [PC - 0x260 /* 00000AC0 */]
  1272. 00000D22  222E FFF8                move.l     D1, [A6 - 0x8]
  1273. 00000D26  9240                     sub.w      D1, D0
  1274. 00000D28  3D41 FFFE                move.w     [A6 - 0x2], D1
  1275. 00000D2C  046E 000F FFFE           subi.w     [A6 - 0x2], 0xF
  1276. 00000D32  4878 01FF                push.l     0x1FF
  1277. 00000D36  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  1278. 00000D3C  7002                     moveq.l    D0, 0x02
  1279. 00000D3E  2F00                     move.l     -[A7], D0
  1280. 00000D40  2F05                     move.l     -[A7], D5
  1281. 00000D42  4EBA FD7C                jsr        [PC - 0x284 /* 00000AC0 */]
  1282. 00000D46  3C00                     move.w     D6, D0
  1283. 00000D48  303C 0100                move.w     D0, 0x100
  1284. 00000D4C  C046                     and.w      D0, D6
  1285. 00000D4E  4FEF 0040                lea.l      A7, [A7 + 0x40]
  1286. 00000D52  6706                     beq        +0x8 /* 00000D5A */
  1287. 00000D54  382E FFFE                move.w     D4, [A6 - 0x2]
  1288. 00000D58  6032                     bra        +0x34 /* 00000D8C */
  1289. label00000D5A:
  1290. 00000D5A  4244                     clr.w      D4
  1291. 00000D5C  7E09                     moveq.l    D7, 0x09
  1292. label00000D5E:
  1293. 00000D5E  302E FFFC                move.w     D0, [A6 - 0x4]
  1294. 00000D62  48C0                     ext.l      D0
  1295. 00000D64  7201                     moveq.l    D1, 0x01
  1296. 00000D66  EFA9                     lsl        D1, D7
  1297. 00000D68  C280                     and.l      D1, D0
  1298. 00000D6A  671C                     beq        +0x1E /* 00000D88 */
  1299. 00000D6C  7009                     moveq.l    D0, 0x09
  1300. 00000D6E  9007                     sub.b      D0, D7
  1301. 00000D70  7C01                     moveq.l    D6, 0x01
  1302. 00000D72  E1AE                     lsl        D6, D0
  1303. 00000D74  DC6E FFFE                add.w      D6, [A6 - 0x2]
  1304. 00000D78  700A                     moveq.l    D0, 0x0A
  1305. 00000D7A  9007                     sub.b      D0, D7
  1306. 00000D7C  7A01                     moveq.l    D5, 0x01
  1307. 00000D7E  E1AD                     lsl        D5, D0
  1308. 00000D80  3006                     move.w     D0, D6
  1309. 00000D82  48C0                     ext.l      D0
  1310. 00000D84  81C5                     divs.w     D0, D5
  1311. 00000D86  D840                     add.w      D4, D0
  1312. label00000D88:
  1313. 00000D88  51CF FFD4                dbf        D7, -0x2E /* 00000D5E */
  1314. label00000D8C:
  1315. 00000D8C  3004                     move.w     D0, D4
  1316. 00000D8E  4CEE 10F0 FFE4           movem.l    D4,D5,D6,D7,A4, [A6 - 0x1C]
  1317. 00000D94  4E5E                     unlink     A6
  1318. 00000D96  4E75                     rts
  1319. fn00000D98:
  1320. 00000D98  4E56 FFEA                link       A6, -0x0016
  1321. 00000D9C  48E7 0108                movem.l    -[A7], D7,A4
  1322. 00000DA0  3E2E 000E                move.w     D7, [A6 + 0xE]
  1323. 00000DA4  286E 0008                movea.l    A4, [A6 + 0x8]
  1324. 00000DA8  7000                     moveq.l    D0, 0x00
  1325. 00000DAA  2D40 FFF0                move.l     [A6 - 0x10], D0
  1326. 00000DAE  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1327. 00000DB2  2049                     movea.l    A0, A1
  1328. 00000DB4  A058                     syscall    InsTime
  1329. 00000DB6  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1330. 00000DBA  2049                     movea.l    A0, A1
  1331. 00000DBC  203C FFFF 9E58           move.l     D0, 0xFFFF9E58
  1332. 00000DC2  A05A                     syscall    PrimeTime
  1333. 00000DC4  601A                     bra        +0x1C /* 00000DE0 */
  1334. label00000DC6:
  1335. 00000DC6  7003                     moveq.l    D0, 0x03
  1336. 00000DC8  2F00                     move.l     -[A7], D0
  1337. 00000DCA  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1338. 00000DD0  2F00                     move.l     -[A7], D0
  1339. 00000DD2  2F14                     move.l     -[A7], [A4]
  1340. 00000DD4  4EBA FD4C                jsr        [PC - 0x2B4 /* 00000B22 */]
  1341. 00000DD8  BE40                     cmp.w      D7, D0
  1342. 00000DDA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1343. 00000DDE  6706                     beq        +0x8 /* 00000DE6 */
  1344. label00000DE0:
  1345. 00000DE0  4A6E FFEE                tst.w      [A6 - 0x12]
  1346. 00000DE4  6DE0                     blt        -0x1E /* 00000DC6 */
  1347. label00000DE6:
  1348. 00000DE6  43EE FFEA                lea.l      A1, [A6 - 0x16]
  1349. 00000DEA  2049                     movea.l    A0, A1
  1350. 00000DEC  A059                     syscall    RmvTime
  1351. 00000DEE  4AAE FFF4                tst.l      [A6 - 0xC]
  1352. 00000DF2  6604                     bne        +0x6 /* 00000DF8 */
  1353. 00000DF4  3E3C E0AE                move.w     D7, 0xE0AE
  1354. label00000DF8:
  1355. 00000DF8  3007                     move.w     D0, D7
  1356. 00000DFA  4CEE 1080 FFE2           movem.l    D7,A4, [A6 - 0x1E]
  1357. 00000E00  4E5E                     unlink     A6
  1358. 00000E02  4E75                     rts
  1359. fn00000E04:
  1360. 00000E04  4E56 FFF6                link       A6, -0x000A
  1361. 00000E08  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  1362. 00000E0C  286E 0008                movea.l    A4, [A6 + 0x8]
  1363. 00000E10  2E14                     move.l     D7, [A4]
  1364. 00000E12  2647                     movea.l    A3, D7
  1365. 00000E14  D7FC 00FE 6018           add.l      A3, 0xFE6018
  1366. 00000E1A  2007                     move.l     D0, D7
  1367. 00000E1C  D0BC 00FE 7018           add.l      D0, 0xFE7018
  1368. 00000E22  2D40 FFF6                move.l     [A6 - 0xA], D0
  1369. 00000E26  206C 000A                movea.l    A0, [A4 + 0xA]
  1370. 00000E2A  2D50 FFFA                move.l     [A6 - 0x6], [A0]
  1371. 00000E2E  397C 001F 0010           move.w     [A4 + 0x10], 0x1F
  1372. 00000E34  397C 02DC 0012           move.w     [A4 + 0x12], 0x2DC
  1373. 00000E3A  397C 029A 0014           move.w     [A4 + 0x14], 0x29A
  1374. 00000E40  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  1375. 00000E46  397C 00FF 0018           move.w     [A4 + 0x18], 0xFF
  1376. 00000E4C  397C 01FC 001A           move.w     [A4 + 0x1A], 0x1FC
  1377. 00000E52  426C 0026                clr.w      [A4 + 0x26]
  1378. 00000E56  7000                     moveq.l    D0, 0x00
  1379. 00000E58  2F00                     move.l     -[A7], D0
  1380. 00000E5A  7205                     moveq.l    D1, 0x05
  1381. 00000E5C  2F01                     move.l     -[A7], D1
  1382. 00000E5E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1383. 00000E64  7003                     moveq.l    D0, 0x03
  1384. 00000E66  2F00                     move.l     -[A7], D0
  1385. 00000E68  2F07                     move.l     -[A7], D7
  1386. 00000E6A  4EBA F908                jsr        [PC - 0x6F8 /* 00000774 */]
  1387. 00000E6E  7001                     moveq.l    D0, 0x01
  1388. 00000E70  2F00                     move.l     -[A7], D0
  1389. 00000E72  7208                     moveq.l    D1, 0x08
  1390. 00000E74  2F01                     move.l     -[A7], D1
  1391. 00000E76  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1392. 00000E7C  7003                     moveq.l    D0, 0x03
  1393. 00000E7E  2F00                     move.l     -[A7], D0
  1394. 00000E80  2F07                     move.l     -[A7], D7
  1395. 00000E82  4EBA F8F0                jsr        [PC - 0x710 /* 00000774 */]
  1396. 00000E86  7000                     moveq.l    D0, 0x00
  1397. 00000E88  2F00                     move.l     -[A7], D0
  1398. 00000E8A  7204                     moveq.l    D1, 0x04
  1399. 00000E8C  2F01                     move.l     -[A7], D1
  1400. 00000E8E  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1401. 00000E94  7003                     moveq.l    D0, 0x03
  1402. 00000E96  2F00                     move.l     -[A7], D0
  1403. 00000E98  2F07                     move.l     -[A7], D7
  1404. 00000E9A  4EBA F8D8                jsr        [PC - 0x728 /* 00000774 */]
  1405. 00000E9E  7062                     moveq.l    D0, 0x62
  1406. 00000EA0  B06C 0146                cmp.w      D0, [A4 + 0x146]
  1407. 00000EA4  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  1408. 00000EA8  6600 00C0                bne        +0xC2 /* 00000F6A */
  1409. 00000EAC  4A6C 0026                tst.w      [A4 + 0x26]
  1410. 00000EB0  6722                     beq        +0x24 /* 00000ED4 */
  1411. 00000EB2  302C 0010                move.w     D0, [A4 + 0x10]
  1412. 00000EB6  48C0                     ext.l      D0
  1413. 00000EB8  4C3C 0800 0000           movem.w    A3, 0x0
  1414. 00000EBE  23C1 D0BC 0000           move.l     [0xD0BC0000], D1
  1415. 00000EC4  1388 4C7C                move.b     [A1 + D4 * 4 + 0x7C], A0
  1416. 00000EC8  0800 0000                btst.b     D0, 0x0
  1417. 00000ECC  2710                     move.l     -[A3], [A0]
  1418. 00000ECE  720A                     moveq.l    D1, 0x0A
  1419. 00000ED0  9081                     sub.l      D0, D1
  1420. 00000ED2  6020                     bra        +0x22 /* 00000EF4 */
  1421. label00000ED4:
  1422. 00000ED4  302C 0010                move.w     D0, [A4 + 0x10]
  1423. 00000ED8  48C0                     ext.l      D0
  1424. 00000EDA  4C3C 0800 0000           movem.w    A3, 0x0
  1425. 00000EE0  2AF8 D0BC                move.l     [A5]+, [0xFFFFD0BC]
  1426. 00000EE4  0000 1388                ori.b      D0, 0x88
  1427. 00000EE8  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  1428. 00000EF0  7212                     moveq.l    D1, 0x12
  1429. 00000EF2  9081                     sub.l      D0, D1
  1430. label00000EF4:
  1431. 00000EF4  720F                     moveq.l    D1, 0x0F
  1432. 00000EF6  9081                     sub.l      D0, D1
  1433. 00000EF8  2F00                     move.l     -[A7], D0
  1434. 00000EFA  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  1435. 00000F00  7002                     moveq.l    D0, 0x02
  1436. 00000F02  2F00                     move.l     -[A7], D0
  1437. 00000F04  2F07                     move.l     -[A7], D7
  1438. 00000F06  4EBA F81A                jsr        [PC - 0x7E6 /* 00000722 */]
  1439. 00000F0A  4A6C 0026                tst.w      [A4 + 0x26]
  1440. 00000F0E  6722                     beq        +0x24 /* 00000F32 */
  1441. 00000F10  302C 0012                move.w     D0, [A4 + 0x12]
  1442. 00000F14  48C0                     ext.l      D0
  1443. 00000F16  4C3C 0800 0000           movem.w    A3, 0x0
  1444. 00000F1C  23C1 D0BC 0000           move.l     [0xD0BC0000], D1
  1445. 00000F22  1388 4C7C                move.b     [A1 + D4 * 4 + 0x7C], A0
  1446. 00000F26  0800 0000                btst.b     D0, 0x0
  1447. 00000F2A  2710                     move.l     -[A3], [A0]
  1448. 00000F2C  720A                     moveq.l    D1, 0x0A
  1449. 00000F2E  9081                     sub.l      D0, D1
  1450. 00000F30  6020                     bra        +0x22 /* 00000F52 */
  1451. label00000F32:
  1452. 00000F32  302C 0012                move.w     D0, [A4 + 0x12]
  1453. 00000F36  48C0                     ext.l      D0
  1454. 00000F38  4C3C 0800 0000           movem.w    A3, 0x0
  1455. 00000F3E  2AF8 D0BC                move.l     [A5]+, [0xFFFFD0BC]
  1456. 00000F42  0000 1388                ori.b      D0, 0x88
  1457. 00000F46  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  1458. 00000F4E  7212                     moveq.l    D1, 0x12
  1459. 00000F50  9081                     sub.l      D0, D1
  1460. label00000F52:
  1461. 00000F52  2F00                     move.l     -[A7], D0
  1462. 00000F54  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  1463. 00000F5A  7002                     moveq.l    D0, 0x02
  1464. 00000F5C  2F00                     move.l     -[A7], D0
  1465. 00000F5E  2F07                     move.l     -[A7], D7
  1466. 00000F60  4EBA F7C0                jsr        [PC - 0x840 /* 00000722 */]
  1467. 00000F64  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1468. 00000F68  6038                     bra        +0x3A /* 00000FA2 */
  1469. label00000F6A:
  1470. 00000F6A  302C 0010                move.w     D0, [A4 + 0x10]
  1471. 00000F6E  48C0                     ext.l      D0
  1472. 00000F70  720F                     moveq.l    D1, 0x0F
  1473. 00000F72  9081                     sub.l      D0, D1
  1474. 00000F74  2F00                     move.l     -[A7], D0
  1475. 00000F76  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  1476. 00000F7C  7002                     moveq.l    D0, 0x02
  1477. 00000F7E  2F00                     move.l     -[A7], D0
  1478. 00000F80  2F07                     move.l     -[A7], D7
  1479. 00000F82  4EBA F79E                jsr        [PC - 0x862 /* 00000722 */]
  1480. 00000F86  302C 0012                move.w     D0, [A4 + 0x12]
  1481. 00000F8A  48C0                     ext.l      D0
  1482. 00000F8C  2F00                     move.l     -[A7], D0
  1483. 00000F8E  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  1484. 00000F94  7002                     moveq.l    D0, 0x02
  1485. 00000F96  2F00                     move.l     -[A7], D0
  1486. 00000F98  2F07                     move.l     -[A7], D7
  1487. 00000F9A  4EBA F786                jsr        [PC - 0x87A /* 00000722 */]
  1488. 00000F9E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1489. label00000FA2:
  1490. 00000FA2  396C 0010 001C           move.w     [A4 + 0x1C], [A4 + 0x10]
  1491. 00000FA8  396C 0012 001E           move.w     [A4 + 0x1E], [A4 + 0x12]
  1492. 00000FAE  302C 0016                move.w     D0, [A4 + 0x16]
  1493. 00000FB2  48C0                     ext.l      D0
  1494. 00000FB4  2F00                     move.l     -[A7], D0
  1495. 00000FB6  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  1496. 00000FBC  7002                     moveq.l    D0, 0x02
  1497. 00000FBE  2F00                     move.l     -[A7], D0
  1498. 00000FC0  2F07                     move.l     -[A7], D7
  1499. 00000FC2  4EBA F75E                jsr        [PC - 0x8A2 /* 00000722 */]
  1500. 00000FC6  302C 0018                move.w     D0, [A4 + 0x18]
  1501. 00000FCA  48C0                     ext.l      D0
  1502. 00000FCC  2F00                     move.l     -[A7], D0
  1503. 00000FCE  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1504. 00000FD4  7002                     moveq.l    D0, 0x02
  1505. 00000FD6  2F00                     move.l     -[A7], D0
  1506. 00000FD8  2F07                     move.l     -[A7], D7
  1507. 00000FDA  4EBA F746                jsr        [PC - 0x8BA /* 00000722 */]
  1508. 00000FDE  396C 0016 0020           move.w     [A4 + 0x20], [A4 + 0x16]
  1509. 00000FE4  396C 0018 0022           move.w     [A4 + 0x22], [A4 + 0x18]
  1510. 00000FEA  4878 0200                push.l     0x200
  1511. 00000FEE  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1512. 00000FF4  7002                     moveq.l    D0, 0x02
  1513. 00000FF6  2F00                     move.l     -[A7], D0
  1514. 00000FF8  2F07                     move.l     -[A7], D7
  1515. 00000FFA  4EBA F726                jsr        [PC - 0x8DA /* 00000722 */]
  1516. 00000FFE  4878 0080                push.l     0x80
  1517. 00001002  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  1518. 00001008  7002                     moveq.l    D0, 0x02
  1519. 0000100A  2F00                     move.l     -[A7], D0
  1520. 0000100C  2F07                     move.l     -[A7], D7
  1521. 0000100E  4EBA F712                jsr        [PC - 0x8EE /* 00000722 */]
  1522. 00001012  4878 00A0                push.l     0xA0
  1523. 00001016  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  1524. 0000101C  7003                     moveq.l    D0, 0x03
  1525. 0000101E  2F00                     move.l     -[A7], D0
  1526. 00001020  2F07                     move.l     -[A7], D7
  1527. 00001022  4EBA F6FE                jsr        [PC - 0x902 /* 00000722 */]
  1528. 00001026  7078                     moveq.l    D0, 0x78
  1529. 00001028  2F00                     move.l     -[A7], D0
  1530. 0000102A  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  1531. 00001030  7203                     moveq.l    D1, 0x03
  1532. 00001032  2F01                     move.l     -[A7], D1
  1533. 00001034  2F07                     move.l     -[A7], D7
  1534. 00001036  4EBA F6EA                jsr        [PC - 0x916 /* 00000722 */]
  1535. 0000103A  302C 0012                move.w     D0, [A4 + 0x12]
  1536. 0000103E  48C0                     ext.l      D0
  1537. 00001040  322C 0010                move.w     D1, [A4 + 0x10]
  1538. 00001044  48C1                     ext.l      D1
  1539. 00001046  9081                     sub.l      D0, D1
  1540. 00001048  4C7C 0800 0000 0002      movem.l    A3, 0x2
  1541. 00001050  D0BC 0000 009F           add.l      D0, 0x9F
  1542. 00001056  2F00                     move.l     -[A7], D0
  1543. 00001058  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1544. 0000105E  7002                     moveq.l    D0, 0x02
  1545. 00001060  2F00                     move.l     -[A7], D0
  1546. 00001062  2F07                     move.l     -[A7], D7
  1547. 00001064  4EBA F6BC                jsr        [PC - 0x944 /* 00000722 */]
  1548. 00001068  302C 0018                move.w     D0, [A4 + 0x18]
  1549. 0000106C  48C0                     ext.l      D0
  1550. 0000106E  322C 0016                move.w     D1, [A4 + 0x16]
  1551. 00001072  48C1                     ext.l      D1
  1552. 00001074  9081                     sub.l      D0, D1
  1553. 00001076  4C7C 0800 0000 0002      movem.l    A3, 0x2
  1554. 0000107E  723C                     moveq.l    D1, 0x3C
  1555. 00001080  D081                     add.l      D0, D1
  1556. 00001082  2F00                     move.l     -[A7], D0
  1557. 00001084  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  1558. 0000108A  7002                     moveq.l    D0, 0x02
  1559. 0000108C  2F00                     move.l     -[A7], D0
  1560. 0000108E  2F07                     move.l     -[A7], D7
  1561. 00001090  4EBA F690                jsr        [PC - 0x970 /* 00000722 */]
  1562. 00001094  7003                     moveq.l    D0, 0x03
  1563. 00001096  2F00                     move.l     -[A7], D0
  1564. 00001098  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  1565. 0000109E  2F00                     move.l     -[A7], D0
  1566. 000010A0  2F07                     move.l     -[A7], D7
  1567. 000010A2  4EBA F67E                jsr        [PC - 0x982 /* 00000722 */]
  1568. 000010A6  7001                     moveq.l    D0, 0x01
  1569. 000010A8  2F00                     move.l     -[A7], D0
  1570. 000010AA  7204                     moveq.l    D1, 0x04
  1571. 000010AC  2F01                     move.l     -[A7], D1
  1572. 000010AE  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1573. 000010B4  7003                     moveq.l    D0, 0x03
  1574. 000010B6  2F00                     move.l     -[A7], D0
  1575. 000010B8  2F07                     move.l     -[A7], D7
  1576. 000010BA  4EBA F6B8                jsr        [PC - 0x948 /* 00000774 */]
  1577. 000010BE  7001                     moveq.l    D0, 0x01
  1578. 000010C0  2F00                     move.l     -[A7], D0
  1579. 000010C2  7203                     moveq.l    D1, 0x03
  1580. 000010C4  2F01                     move.l     -[A7], D1
  1581. 000010C6  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1582. 000010CC  2F01                     move.l     -[A7], D1
  1583. 000010CE  2F07                     move.l     -[A7], D7
  1584. 000010D0  4EBA F6A2                jsr        [PC - 0x95E /* 00000774 */]
  1585. 000010D4  7001                     moveq.l    D0, 0x01
  1586. 000010D6  2F00                     move.l     -[A7], D0
  1587. 000010D8  7202                     moveq.l    D1, 0x02
  1588. 000010DA  2F01                     move.l     -[A7], D1
  1589. 000010DC  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1590. 000010E2  7003                     moveq.l    D0, 0x03
  1591. 000010E4  2F00                     move.l     -[A7], D0
  1592. 000010E6  2F07                     move.l     -[A7], D7
  1593. 000010E8  4EBA F68A                jsr        [PC - 0x976 /* 00000774 */]
  1594. 000010EC  7001                     moveq.l    D0, 0x01
  1595. 000010EE  2F00                     move.l     -[A7], D0
  1596. 000010F0  2F00                     move.l     -[A7], D0
  1597. 000010F2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1598. 000010F8  7203                     moveq.l    D1, 0x03
  1599. 000010FA  2F01                     move.l     -[A7], D1
  1600. 000010FC  2F07                     move.l     -[A7], D7
  1601. 000010FE  4EBA F674                jsr        [PC - 0x98C /* 00000774 */]
  1602. 00001102  7001                     moveq.l    D0, 0x01
  1603. 00001104  2F00                     move.l     -[A7], D0
  1604. 00001106  7200                     moveq.l    D1, 0x00
  1605. 00001108  2F01                     move.l     -[A7], D1
  1606. 0000110A  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1607. 00001110  7003                     moveq.l    D0, 0x03
  1608. 00001112  2F00                     move.l     -[A7], D0
  1609. 00001114  2F07                     move.l     -[A7], D7
  1610. 00001116  4EBA F65C                jsr        [PC - 0x9A4 /* 00000774 */]
  1611. 0000111A  7010                     moveq.l    D0, 0x10
  1612. 0000111C  2F00                     move.l     -[A7], D0
  1613. 0000111E  7218                     moveq.l    D1, 0x18
  1614. 00001120  2F01                     move.l     -[A7], D1
  1615. 00001122  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1616. 00001128  7003                     moveq.l    D0, 0x03
  1617. 0000112A  2F00                     move.l     -[A7], D0
  1618. 0000112C  2F07                     move.l     -[A7], D7
  1619. 0000112E  4EBA F6AC                jsr        [PC - 0x954 /* 000007DC */]
  1620. 00001132  7000                     moveq.l    D0, 0x00
  1621. 00001134  2F00                     move.l     -[A7], D0
  1622. 00001136  7209                     moveq.l    D1, 0x09
  1623. 00001138  2F01                     move.l     -[A7], D1
  1624. 0000113A  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1625. 00001140  7003                     moveq.l    D0, 0x03
  1626. 00001142  2F00                     move.l     -[A7], D0
  1627. 00001144  2F07                     move.l     -[A7], D7
  1628. 00001146  4EBA F62C                jsr        [PC - 0x9D4 /* 00000774 */]
  1629. 0000114A  7001                     moveq.l    D0, 0x01
  1630. 0000114C  2F00                     move.l     -[A7], D0
  1631. 0000114E  2F00                     move.l     -[A7], D0
  1632. 00001150  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1633. 00001156  7203                     moveq.l    D1, 0x03
  1634. 00001158  2F01                     move.l     -[A7], D1
  1635. 0000115A  2F07                     move.l     -[A7], D7
  1636. 0000115C  4EBA F616                jsr        [PC - 0x9EA /* 00000774 */]
  1637. 00001160  7000                     moveq.l    D0, 0x00
  1638. 00001162  2F00                     move.l     -[A7], D0
  1639. 00001164  7205                     moveq.l    D1, 0x05
  1640. 00001166  2F01                     move.l     -[A7], D1
  1641. 00001168  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  1642. 0000116E  7003                     moveq.l    D0, 0x03
  1643. 00001170  2F00                     move.l     -[A7], D0
  1644. 00001172  2F07                     move.l     -[A7], D7
  1645. 00001174  4EBA F5FE                jsr        [PC - 0xA02 /* 00000774 */]
  1646. 00001178  7001                     moveq.l    D0, 0x01
  1647. 0000117A  2F00                     move.l     -[A7], D0
  1648. 0000117C  7205                     moveq.l    D1, 0x05
  1649. 0000117E  2F01                     move.l     -[A7], D1
  1650. 00001180  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  1651. 00001186  7003                     moveq.l    D0, 0x03
  1652. 00001188  2F00                     move.l     -[A7], D0
  1653. 0000118A  2F07                     move.l     -[A7], D7
  1654. 0000118C  4EBA F5E6                jsr        [PC - 0xA1A /* 00000774 */]
  1655. 00001190  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  1656. 00001196  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1657. 0000119A  2049                     movea.l    A0, A1
  1658. 0000119C  1010                     move.b     D0, [A0]
  1659. 0000119E  A05D                     syscall    SwapMMUMode
  1660. 000011A0  1080                     move.b     [A0], D0
  1661. 000011A2  2C13                     move.l     D6, [A3]
  1662. 000011A4  7000                     moveq.l    D0, 0x00
  1663. 000011A6  2680                     move.l     [A3], D0
  1664. 000011A8  206E FFF6                movea.l    A0, [A6 - 0xA]
  1665. 000011AC  0090 0000 0004           ori.l      [A0], 0x4
  1666. 000011B2  2686                     move.l     [A3], D6
  1667. 000011B4  43EE FFFF                lea.l      A1, [A6 - 0x1]
  1668. 000011B8  2049                     movea.l    A0, A1
  1669. 000011BA  1010                     move.b     D0, [A0]
  1670. 000011BC  A05D                     syscall    SwapMMUMode
  1671. 000011BE  1080                     move.b     [A0], D0
  1672. 000011C0  7001                     moveq.l    D0, 0x01
  1673. 000011C2  2F00                     move.l     -[A7], D0
  1674. 000011C4  7204                     moveq.l    D1, 0x04
  1675. 000011C6  2F01                     move.l     -[A7], D1
  1676. 000011C8  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1677. 000011CE  7003                     moveq.l    D0, 0x03
  1678. 000011D0  2F00                     move.l     -[A7], D0
  1679. 000011D2  2F07                     move.l     -[A7], D7
  1680. 000011D4  4EBA F59E                jsr        [PC - 0xA62 /* 00000774 */]
  1681. 000011D8  7001                     moveq.l    D0, 0x01
  1682. 000011DA  2F00                     move.l     -[A7], D0
  1683. 000011DC  7206                     moveq.l    D1, 0x06
  1684. 000011DE  2F01                     move.l     -[A7], D1
  1685. 000011E0  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1686. 000011E6  7003                     moveq.l    D0, 0x03
  1687. 000011E8  2F00                     move.l     -[A7], D0
  1688. 000011EA  2F07                     move.l     -[A7], D7
  1689. 000011EC  4EBA F586                jsr        [PC - 0xA7A /* 00000774 */]
  1690. 000011F0  7000                     moveq.l    D0, 0x00
  1691. 000011F2  2F00                     move.l     -[A7], D0
  1692. 000011F4  2F00                     move.l     -[A7], D0
  1693. 000011F6  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1694. 000011FC  7203                     moveq.l    D1, 0x03
  1695. 000011FE  2F01                     move.l     -[A7], D1
  1696. 00001200  2F07                     move.l     -[A7], D7
  1697. 00001202  4EBA F570                jsr        [PC - 0xA90 /* 00000774 */]
  1698. 00001206  7000                     moveq.l    D0, 0x00
  1699. 00001208  2F00                     move.l     -[A7], D0
  1700. 0000120A  7201                     moveq.l    D1, 0x01
  1701. 0000120C  2F01                     move.l     -[A7], D1
  1702. 0000120E  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  1703. 00001214  7003                     moveq.l    D0, 0x03
  1704. 00001216  2F00                     move.l     -[A7], D0
  1705. 00001218  2F07                     move.l     -[A7], D7
  1706. 0000121A  4EBA F558                jsr        [PC - 0xAA8 /* 00000774 */]
  1707. 0000121E  4FEF 01A8                lea.l      A7, [A7 + 0x1A8]
  1708. 00001222  4CEE 18C0 FFE6           movem.l    D6,D7,A3,A4, [A6 - 0x1A]
  1709. 00001228  4E5E                     unlink     A6
  1710. 0000122A  4E75                     rts
  1711. fn0000122C:
  1712. 0000122C  4E56 0000                link       A6, 0
  1713. 00001230  2F0C                     move.l     -[A7], A4
  1714. 00001232  286E 0008                movea.l    A4, [A6 + 0x8]
  1715. 00001236  2F0C                     move.l     -[A7], A4
  1716. 00001238  7000                     moveq.l    D0, 0x00
  1717. 0000123A  2F00                     move.l     -[A7], D0
  1718. 0000123C  2F00                     move.l     -[A7], D0
  1719. 0000123E  2F00                     move.l     -[A7], D0
  1720. 00001240  4EBA 0354                jsr        [PC + 0x354 /* 00001596 */]
  1721. 00001244  2F0C                     move.l     -[A7], A4
  1722. 00001246  7000                     moveq.l    D0, 0x00
  1723. 00001248  2F00                     move.l     -[A7], D0
  1724. 0000124A  2F00                     move.l     -[A7], D0
  1725. 0000124C  2F00                     move.l     -[A7], D0
  1726. 0000124E  4EBA 0346                jsr        [PC + 0x346 /* 00001596 */]
  1727. 00001252  7062                     moveq.l    D0, 0x62
  1728. 00001254  B06C 0146                cmp.w      D0, [A4 + 0x146]
  1729. 00001258  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1730. 0000125C  6600 00E2                bne        +0xE4 /* 00001340 */
  1731. 00001260  2F0C                     move.l     -[A7], A4
  1732. 00001262  7050                     moveq.l    D0, 0x50
  1733. 00001264  2F00                     move.l     -[A7], D0
  1734. 00001266  7200                     moveq.l    D1, 0x00
  1735. 00001268  2F01                     move.l     -[A7], D1
  1736. 0000126A  4878 008A                push.l     0x8A
  1737. 0000126E  4EBA 0326                jsr        [PC + 0x326 /* 00001596 */]
  1738. 00001272  2F0C                     move.l     -[A7], A4
  1739. 00001274  7035                     moveq.l    D0, 0x35
  1740. 00001276  2F00                     move.l     -[A7], D0
  1741. 00001278  7201                     moveq.l    D1, 0x01
  1742. 0000127A  2F01                     move.l     -[A7], D1
  1743. 0000127C  4878 008A                push.l     0x8A
  1744. 00001280  4EBA 0314                jsr        [PC + 0x314 /* 00001596 */]
  1745. 00001284  2F0C                     move.l     -[A7], A4
  1746. 00001286  700A                     moveq.l    D0, 0x0A
  1747. 00001288  2F00                     move.l     -[A7], D0
  1748. 0000128A  7202                     moveq.l    D1, 0x02
  1749. 0000128C  2F01                     move.l     -[A7], D1
  1750. 0000128E  4878 008A                push.l     0x8A
  1751. 00001292  4EBA 0302                jsr        [PC + 0x302 /* 00001596 */]
  1752. 00001296  2F0C                     move.l     -[A7], A4
  1753. 00001298  4878 00F8                push.l     0xF8
  1754. 0000129C  7003                     moveq.l    D0, 0x03
  1755. 0000129E  2F00                     move.l     -[A7], D0
  1756. 000012A0  4878 008A                push.l     0x8A
  1757. 000012A4  4EBA 02F0                jsr        [PC + 0x2F0 /* 00001596 */]
  1758. 000012A8  2F0C                     move.l     -[A7], A4
  1759. 000012AA  4878 00D6                push.l     0xD6
  1760. 000012AE  7004                     moveq.l    D0, 0x04
  1761. 000012B0  2F00                     move.l     -[A7], D0
  1762. 000012B2  4878 008A                push.l     0x8A
  1763. 000012B6  4EBA 02DE                jsr        [PC + 0x2DE /* 00001596 */]
  1764. 000012BA  2F0C                     move.l     -[A7], A4
  1765. 000012BC  4878 00FF                push.l     0xFF
  1766. 000012C0  7005                     moveq.l    D0, 0x05
  1767. 000012C2  2F00                     move.l     -[A7], D0
  1768. 000012C4  4878 008A                push.l     0x8A
  1769. 000012C8  4EBA 02CC                jsr        [PC + 0x2CC /* 00001596 */]
  1770. 000012CC  2F0C                     move.l     -[A7], A4
  1771. 000012CE  7023                     moveq.l    D0, 0x23
  1772. 000012D0  2F00                     move.l     -[A7], D0
  1773. 000012D2  7206                     moveq.l    D1, 0x06
  1774. 000012D4  2F01                     move.l     -[A7], D1
  1775. 000012D6  4878 008A                push.l     0x8A
  1776. 000012DA  4EBA 02BA                jsr        [PC + 0x2BA /* 00001596 */]
  1777. 000012DE  2F0C                     move.l     -[A7], A4
  1778. 000012E0  7000                     moveq.l    D0, 0x00
  1779. 000012E2  2F00                     move.l     -[A7], D0
  1780. 000012E4  7207                     moveq.l    D1, 0x07
  1781. 000012E6  2F01                     move.l     -[A7], D1
  1782. 000012E8  4878 008A                push.l     0x8A
  1783. 000012EC  4EBA 02A8                jsr        [PC + 0x2A8 /* 00001596 */]
  1784. 000012F0  2F0C                     move.l     -[A7], A4
  1785. 000012F2  7057                     moveq.l    D0, 0x57
  1786. 000012F4  2F00                     move.l     -[A7], D0
  1787. 000012F6  7208                     moveq.l    D1, 0x08
  1788. 000012F8  2F01                     move.l     -[A7], D1
  1789. 000012FA  4878 008A                push.l     0x8A
  1790. 000012FE  4EBA 0296                jsr        [PC + 0x296 /* 00001596 */]
  1791. 00001302  2F0C                     move.l     -[A7], A4
  1792. 00001304  4878 00EC                push.l     0xEC
  1793. 00001308  7009                     moveq.l    D0, 0x09
  1794. 0000130A  2F00                     move.l     -[A7], D0
  1795. 0000130C  4878 008A                push.l     0x8A
  1796. 00001310  4EBA 0284                jsr        [PC + 0x284 /* 00001596 */]
  1797. 00001314  2F0C                     move.l     -[A7], A4
  1798. 00001316  7011                     moveq.l    D0, 0x11
  1799. 00001318  2F00                     move.l     -[A7], D0
  1800. 0000131A  720A                     moveq.l    D1, 0x0A
  1801. 0000131C  2F01                     move.l     -[A7], D1
  1802. 0000131E  4878 008A                push.l     0x8A
  1803. 00001322  4EBA 0272                jsr        [PC + 0x272 /* 00001596 */]
  1804. 00001326  2F0C                     move.l     -[A7], A4
  1805. 00001328  7000                     moveq.l    D0, 0x00
  1806. 0000132A  2F00                     move.l     -[A7], D0
  1807. 0000132C  720B                     moveq.l    D1, 0x0B
  1808. 0000132E  2F01                     move.l     -[A7], D1
  1809. 00001330  4878 008A                push.l     0x8A
  1810. 00001334  4EBA 0260                jsr        [PC + 0x260 /* 00001596 */]
  1811. 00001338  4FEF 00C0                lea.l      A7, [A7 + 0xC0]
  1812. 0000133C  6000 01A4                bra        +0x1A6 /* 000014E2 */
  1813. label00001340:
  1814. 00001340  2F0C                     move.l     -[A7], A4
  1815. 00001342  7050                     moveq.l    D0, 0x50
  1816. 00001344  2F00                     move.l     -[A7], D0
  1817. 00001346  7200                     moveq.l    D1, 0x00
  1818. 00001348  2F01                     move.l     -[A7], D1
  1819. 0000134A  4878 008A                push.l     0x8A
  1820. 0000134E  4EBA 0246                jsr        [PC + 0x246 /* 00001596 */]
  1821. 00001352  2F0C                     move.l     -[A7], A4
  1822. 00001354  7030                     moveq.l    D0, 0x30
  1823. 00001356  2F00                     move.l     -[A7], D0
  1824. 00001358  7201                     moveq.l    D1, 0x01
  1825. 0000135A  2F01                     move.l     -[A7], D1
  1826. 0000135C  4878 008A                push.l     0x8A
  1827. 00001360  4EBA 0234                jsr        [PC + 0x234 /* 00001596 */]
  1828. 00001364  2F0C                     move.l     -[A7], A4
  1829. 00001366  7000                     moveq.l    D0, 0x00
  1830. 00001368  2F00                     move.l     -[A7], D0
  1831. 0000136A  7202                     moveq.l    D1, 0x02
  1832. 0000136C  2F01                     move.l     -[A7], D1
  1833. 0000136E  4878 008A                push.l     0x8A
  1834. 00001372  4EBA 0222                jsr        [PC + 0x222 /* 00001596 */]
  1835. 00001376  2F0C                     move.l     -[A7], A4
  1836. 00001378  4878 00E8                push.l     0xE8
  1837. 0000137C  7003                     moveq.l    D0, 0x03
  1838. 0000137E  2F00                     move.l     -[A7], D0
  1839. 00001380  4878 008A                push.l     0x8A
  1840. 00001384  4EBA 0210                jsr        [PC + 0x210 /* 00001596 */]
  1841. 00001388  2F0C                     move.l     -[A7], A4
  1842. 0000138A  4878 00B6                push.l     0xB6
  1843. 0000138E  7004                     moveq.l    D0, 0x04
  1844. 00001390  2F00                     move.l     -[A7], D0
  1845. 00001392  4878 008A                push.l     0x8A
  1846. 00001396  4EBA 01FE                jsr        [PC + 0x1FE /* 00001596 */]
  1847. 0000139A  2F0C                     move.l     -[A7], A4
  1848. 0000139C  7034                     moveq.l    D0, 0x34
  1849. 0000139E  2F00                     move.l     -[A7], D0
  1850. 000013A0  7205                     moveq.l    D1, 0x05
  1851. 000013A2  2F01                     move.l     -[A7], D1
  1852. 000013A4  4878 008A                push.l     0x8A
  1853. 000013A8  4EBA 01EC                jsr        [PC + 0x1EC /* 00001596 */]
  1854. 000013AC  2F0C                     move.l     -[A7], A4
  1855. 000013AE  7013                     moveq.l    D0, 0x13
  1856. 000013B0  2F00                     move.l     -[A7], D0
  1857. 000013B2  7206                     moveq.l    D1, 0x06
  1858. 000013B4  2F01                     move.l     -[A7], D1
  1859. 000013B6  4878 008A                push.l     0x8A
  1860. 000013BA  4EBA 01DA                jsr        [PC + 0x1DA /* 00001596 */]
  1861. 000013BE  2F0C                     move.l     -[A7], A4
  1862. 000013C0  7000                     moveq.l    D0, 0x00
  1863. 000013C2  2F00                     move.l     -[A7], D0
  1864. 000013C4  7207                     moveq.l    D1, 0x07
  1865. 000013C6  2F01                     move.l     -[A7], D1
  1866. 000013C8  4878 008A                push.l     0x8A
  1867. 000013CC  4EBA 01C8                jsr        [PC + 0x1C8 /* 00001596 */]
  1868. 000013D0  2F0C                     move.l     -[A7], A4
  1869. 000013D2  4878 00FE                push.l     0xFE
  1870. 000013D6  7008                     moveq.l    D0, 0x08
  1871. 000013D8  2F00                     move.l     -[A7], D0
  1872. 000013DA  4878 008A                push.l     0x8A
  1873. 000013DE  4EBA 01B6                jsr        [PC + 0x1B6 /* 00001596 */]
  1874. 000013E2  2F0C                     move.l     -[A7], A4
  1875. 000013E4  4878 00F0                push.l     0xF0
  1876. 000013E8  7009                     moveq.l    D0, 0x09
  1877. 000013EA  2F00                     move.l     -[A7], D0
  1878. 000013EC  4878 008A                push.l     0x8A
  1879. 000013F0  4EBA 01A4                jsr        [PC + 0x1A4 /* 00001596 */]
  1880. 000013F4  2F0C                     move.l     -[A7], A4
  1881. 000013F6  4878 00FE                push.l     0xFE
  1882. 000013FA  700A                     moveq.l    D0, 0x0A
  1883. 000013FC  2F00                     move.l     -[A7], D0
  1884. 000013FE  4878 008A                push.l     0x8A
  1885. 00001402  4EBA 0192                jsr        [PC + 0x192 /* 00001596 */]
  1886. 00001406  2F0C                     move.l     -[A7], A4
  1887. 00001408  4878 00E0                push.l     0xE0
  1888. 0000140C  700B                     moveq.l    D0, 0x0B
  1889. 0000140E  2F00                     move.l     -[A7], D0
  1890. 00001410  4878 008A                push.l     0x8A
  1891. 00001414  4EBA 0180                jsr        [PC + 0x180 /* 00001596 */]
  1892. 00001418  2F0C                     move.l     -[A7], A4
  1893. 0000141A  7020                     moveq.l    D0, 0x20
  1894. 0000141C  2F00                     move.l     -[A7], D0
  1895. 0000141E  720C                     moveq.l    D1, 0x0C
  1896. 00001420  2F01                     move.l     -[A7], D1
  1897. 00001422  4878 008A                push.l     0x8A
  1898. 00001426  4EBA 016E                jsr        [PC + 0x16E /* 00001596 */]
  1899. 0000142A  2F0C                     move.l     -[A7], A4
  1900. 0000142C  7000                     moveq.l    D0, 0x00
  1901. 0000142E  2F00                     move.l     -[A7], D0
  1902. 00001430  720D                     moveq.l    D1, 0x0D
  1903. 00001432  2F01                     move.l     -[A7], D1
  1904. 00001434  4878 008A                push.l     0x8A
  1905. 00001438  4EBA 015C                jsr        [PC + 0x15C /* 00001596 */]
  1906. 0000143C  2F0C                     move.l     -[A7], A4
  1907. 0000143E  707A                     moveq.l    D0, 0x7A
  1908. 00001440  2F00                     move.l     -[A7], D0
  1909. 00001442  720E                     moveq.l    D1, 0x0E
  1910. 00001444  2F01                     move.l     -[A7], D1
  1911. 00001446  4878 008A                push.l     0x8A
  1912. 0000144A  4EBA 014A                jsr        [PC + 0x14A /* 00001596 */]
  1913. 0000144E  2F0C                     move.l     -[A7], A4
  1914. 00001450  707F                     moveq.l    D0, 0x7F
  1915. 00001452  2F00                     move.l     -[A7], D0
  1916. 00001454  720F                     moveq.l    D1, 0x0F
  1917. 00001456  2F01                     move.l     -[A7], D1
  1918. 00001458  4878 008A                push.l     0x8A
  1919. 0000145C  4EBA 0138                jsr        [PC + 0x138 /* 00001596 */]
  1920. 00001460  2F0C                     move.l     -[A7], A4
  1921. 00001462  7003                     moveq.l    D0, 0x03
  1922. 00001464  2F00                     move.l     -[A7], D0
  1923. 00001466  7210                     moveq.l    D1, 0x10
  1924. 00001468  2F01                     move.l     -[A7], D1
  1925. 0000146A  4878 008A                push.l     0x8A
  1926. 0000146E  4EBA 0126                jsr        [PC + 0x126 /* 00001596 */]
  1927. 00001472  2F0C                     move.l     -[A7], A4
  1928. 00001474  4878 0080                push.l     0x80
  1929. 00001478  7011                     moveq.l    D0, 0x11
  1930. 0000147A  2F00                     move.l     -[A7], D0
  1931. 0000147C  4878 008A                push.l     0x8A
  1932. 00001480  4EBA 0114                jsr        [PC + 0x114 /* 00001596 */]
  1933. 00001484  2F0C                     move.l     -[A7], A4
  1934. 00001486  703A                     moveq.l    D0, 0x3A
  1935. 00001488  2F00                     move.l     -[A7], D0
  1936. 0000148A  7214                     moveq.l    D1, 0x14
  1937. 0000148C  2F01                     move.l     -[A7], D1
  1938. 0000148E  4878 008A                push.l     0x8A
  1939. 00001492  4EBA 0102                jsr        [PC + 0x102 /* 00001596 */]
  1940. 00001496  2F0C                     move.l     -[A7], A4
  1941. 00001498  7006                     moveq.l    D0, 0x06
  1942. 0000149A  2F00                     move.l     -[A7], D0
  1943. 0000149C  7215                     moveq.l    D1, 0x15
  1944. 0000149E  2F01                     move.l     -[A7], D1
  1945. 000014A0  4878 008A                push.l     0x8A
  1946. 000014A4  4EBA 00F0                jsr        [PC + 0xF0 /* 00001596 */]
  1947. 000014A8  2F0C                     move.l     -[A7], A4
  1948. 000014AA  4878 00FA                push.l     0xFA
  1949. 000014AE  7016                     moveq.l    D0, 0x16
  1950. 000014B0  2F00                     move.l     -[A7], D0
  1951. 000014B2  4878 008A                push.l     0x8A
  1952. 000014B6  4EBA 00DE                jsr        [PC + 0xDE /* 00001596 */]
  1953. 000014BA  2F0C                     move.l     -[A7], A4
  1954. 000014BC  4878 00D6                push.l     0xD6
  1955. 000014C0  7017                     moveq.l    D0, 0x17
  1956. 000014C2  2F00                     move.l     -[A7], D0
  1957. 000014C4  4878 008A                push.l     0x8A
  1958. 000014C8  4EBA 00CC                jsr        [PC + 0xCC /* 00001596 */]
  1959. 000014CC  2F0C                     move.l     -[A7], A4
  1960. 000014CE  7020                     moveq.l    D0, 0x20
  1961. 000014D0  2F00                     move.l     -[A7], D0
  1962. 000014D2  7218                     moveq.l    D1, 0x18
  1963. 000014D4  2F01                     move.l     -[A7], D1
  1964. 000014D6  4878 008A                push.l     0x8A
  1965. 000014DA  4EBA 00BA                jsr        [PC + 0xBA /* 00001596 */]
  1966. 000014DE  4FEF 0170                lea.l      A7, [A7 + 0x170]
  1967. label000014E2:
  1968. 000014E2  286E FFFC                movea.l    A4, [A6 - 0x4]
  1969. 000014E6  4E5E                     unlink     A6
  1970. 000014E8  4E75                     rts
  1971. fn000014EA:
  1972. 000014EA  4E56 FF00                link       A6, -0x0100
  1973. 000014EE  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  1974. 000014F2  266E 0008                movea.l    A3, [A6 + 0x8]
  1975. 000014F6  49EE FF00                lea.l      A4, [A6 - 0x100]
  1976. 000014FA  4247                     clr.w      D7
  1977. 000014FC  363C 0100                move.w     D3, 0x100
  1978. label00001500:
  1979. 00001500  1987 7000                move.b     [A4 + D7.w], D7
  1980. 00001504  3007                     move.w     D0, D7
  1981. 00001506  5247                     addq.w     D7, 1
  1982. 00001508  B647                     cmp.w      D3, D7
  1983. 0000150A  6EF4                     bgt        -0xA /* 00001500 */
  1984. 0000150C  7062                     moveq.l    D0, 0x62
  1985. 0000150E  B06B 0146                cmp.w      D0, [A3 + 0x146]
  1986. 00001512  6618                     bne        +0x1A /* 0000152C */
  1987. 00001514  2F0B                     move.l     -[A7], A3
  1988. 00001516  7038                     moveq.l    D0, 0x38
  1989. 00001518  2F00                     move.l     -[A7], D0
  1990. 0000151A  7200                     moveq.l    D1, 0x00
  1991. 0000151C  2F01                     move.l     -[A7], D1
  1992. 0000151E  4878 00E0                push.l     0xE0
  1993. 00001522  4EBA 0072                jsr        [PC + 0x72 /* 00001596 */]
  1994. 00001526  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1995. 0000152A  6016                     bra        +0x18 /* 00001542 */
  1996. label0000152C:
  1997. 0000152C  2F0B                     move.l     -[A7], A3
  1998. 0000152E  703A                     moveq.l    D0, 0x3A
  1999. 00001530  2F00                     move.l     -[A7], D0
  2000. 00001532  7200                     moveq.l    D1, 0x00
  2001. 00001534  2F01                     move.l     -[A7], D1
  2002. 00001536  4878 00E0                push.l     0xE0
  2003. 0000153A  4EBA 005A                jsr        [PC + 0x5A /* 00001596 */]
  2004. 0000153E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2005. label00001542:
  2006. 00001542  2F0B                     move.l     -[A7], A3
  2007. 00001544  2F0C                     move.l     -[A7], A4
  2008. 00001546  7001                     moveq.l    D0, 0x01
  2009. 00001548  2F00                     move.l     -[A7], D0
  2010. 0000154A  4878 00E0                push.l     0xE0
  2011. 0000154E  4EBA 07CC                jsr        [PC + 0x7CC /* 00001D1C */]
  2012. 00001552  7062                     moveq.l    D0, 0x62
  2013. 00001554  B06B 0146                cmp.w      D0, [A3 + 0x146]
  2014. 00001558  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2015. 0000155C  6618                     bne        +0x1A /* 00001576 */
  2016. 0000155E  2F0B                     move.l     -[A7], A3
  2017. 00001560  7078                     moveq.l    D0, 0x78
  2018. 00001562  2F00                     move.l     -[A7], D0
  2019. 00001564  7200                     moveq.l    D1, 0x00
  2020. 00001566  2F01                     move.l     -[A7], D1
  2021. 00001568  4878 00E0                push.l     0xE0
  2022. 0000156C  4EBA 0028                jsr        [PC + 0x28 /* 00001596 */]
  2023. 00001570  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2024. 00001574  6016                     bra        +0x18 /* 0000158C */
  2025. label00001576:
  2026. 00001576  2F0B                     move.l     -[A7], A3
  2027. 00001578  707A                     moveq.l    D0, 0x7A
  2028. 0000157A  2F00                     move.l     -[A7], D0
  2029. 0000157C  7200                     moveq.l    D1, 0x00
  2030. 0000157E  2F01                     move.l     -[A7], D1
  2031. 00001580  4878 00E0                push.l     0xE0
  2032. 00001584  4EBA 0010                jsr        [PC + 0x10 /* 00001596 */]
  2033. 00001588  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2034. label0000158C:
  2035. 0000158C  4CEE 1888 FEF0           movem.l    D3,D7,A3,A4, [A6 - 0x110]
  2036. 00001592  4E5E                     unlink     A6
  2037. 00001594  4E75                     rts
  2038. fn00001596:
  2039. 00001596  4E56 FFEC                link       A6, -0x0014
  2040. 0000159A  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  2041. 0000159E  206E 0014                movea.l    A0, [A6 + 0x14]
  2042. 000015A2  2D50 FFF6                move.l     [A6 - 0xA], [A0]
  2043. 000015A6  266E FFF6                movea.l    A3, [A6 - 0xA]
  2044. 000015AA  D7FC 00FE 6018           add.l      A3, 0xFE6018
  2045. 000015B0  286E FFF6                movea.l    A4, [A6 - 0xA]
  2046. 000015B4  D9FC 00FE 701D           add.l      A4, 0xFE701D
  2047. 000015BA  1D7C 0001 FFFB           move.b     [A6 - 0x5], 0x1
  2048. 000015C0  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2049. 000015C4  2049                     movea.l    A0, A1
  2050. 000015C6  1010                     move.b     D0, [A0]
  2051. 000015C8  A05D                     syscall    SwapMMUMode
  2052. 000015CA  1080                     move.b     [A0], D0
  2053. 000015CC  2D53 FFFC                move.l     [A6 - 0x4], [A3]
  2054. 000015D0  7003                     moveq.l    D0, 0x03
  2055. 000015D2  2680                     move.l     [A3], D0
  2056. 000015D4  7A00                     moveq.l    D5, 0x00
  2057. 000015D6  1A14                     move.b     D5, [A4]
  2058. 000015D8  4A85                     tst.l      D5
  2059. 000015DA  722F                     moveq.l    D1, 0x2F
  2060. 000015DC  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  2061. 000015E0  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  2062. 000015E8  3801                     move.w     D4, D1
  2063. 000015EA  7228                     moveq.l    D1, 0x28
  2064. 000015EC  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  2065. 000015F0  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  2066. 000015F8  3D41 FFEC                move.w     [A6 - 0x14], D1
  2067. 000015FC  3D7C 0BB8 FFF4           move.w     [A6 - 0xC], 0xBB8
  2068. 00001602  7600                     moveq.l    D3, 0x00
  2069. label00001604:
  2070. 00001604  7000                     moveq.l    D0, 0x00
  2071. 00001606  1014                     move.b     D0, [A4]
  2072. 00001608  4A80                     tst.l      D0
  2073. 0000160A  7202                     moveq.l    D1, 0x02
  2074. 0000160C  C200                     and.b      D1, D0
  2075. 0000160E  670E                     beq        +0x10 /* 0000161E */
  2076. 00001610  7000                     moveq.l    D0, 0x00
  2077. 00001612  1014                     move.b     D0, [A4]
  2078. 00001614  4A80                     tst.l      D0
  2079. 00001616  7201                     moveq.l    D1, 0x01
  2080. 00001618  C200                     and.b      D1, D0
  2081. 0000161A  6600 0096                bne        +0x98 /* 000016B2 */
  2082. label0000161E:
  2083. 0000161E  0245 FFFD                andi.w     D5, 0xFFFD
  2084. 00001622  3C3C 0BB8                move.w     D6, 0xBB8
  2085. label00001626:
  2086. 00001626  7000                     moveq.l    D0, 0x00
  2087. 00001628  1014                     move.b     D0, [A4]
  2088. 0000162A  4A80                     tst.l      D0
  2089. 0000162C  7202                     moveq.l    D1, 0x02
  2090. 0000162E  C200                     and.b      D1, D0
  2091. 00001630  7000                     moveq.l    D0, 0x00
  2092. 00001632  1001                     move.b     D0, D1
  2093. 00001634  4A80                     tst.l      D0
  2094. 00001636  7202                     moveq.l    D1, 0x02
  2095. 00001638  C245                     and.w      D1, D5
  2096. 0000163A  7400                     moveq.l    D2, 0x00
  2097. 0000163C  3401                     move.w     D2, D1
  2098. 0000163E  4A82                     tst.l      D2
  2099. 00001640  B480                     cmp.l      D2, D0
  2100. 00001642  670E                     beq        +0x10 /* 00001652 */
  2101. 00001644  1885                     move.b     [A4], D5
  2102. 00001646  6002                     bra        +0x4 /* 0000164A */
  2103. 00001648  6008                     bra        +0xA /* 00001652 */
  2104. label0000164A:
  2105. 0000164A  3006                     move.w     D0, D6
  2106. 0000164C  5346                     subq.w     D6, 1
  2107. 0000164E  B646                     cmp.w      D3, D6
  2108. 00001650  6DD4                     blt        -0x2A /* 00001626 */
  2109. label00001652:
  2110. 00001652  0885 0000                bclr.b     D5, 0x0
  2111. 00001656  1885                     move.b     [A4], D5
  2112. 00001658  0045 0002                ori.w      D5, 0x2
  2113. 0000165C  3C3C 0BB8                move.w     D6, 0xBB8
  2114. label00001660:
  2115. 00001660  7000                     moveq.l    D0, 0x00
  2116. 00001662  1014                     move.b     D0, [A4]
  2117. 00001664  4A80                     tst.l      D0
  2118. 00001666  7202                     moveq.l    D1, 0x02
  2119. 00001668  C200                     and.b      D1, D0
  2120. 0000166A  7000                     moveq.l    D0, 0x00
  2121. 0000166C  1001                     move.b     D0, D1
  2122. 0000166E  4A80                     tst.l      D0
  2123. 00001670  7202                     moveq.l    D1, 0x02
  2124. 00001672  C245                     and.w      D1, D5
  2125. 00001674  7400                     moveq.l    D2, 0x00
  2126. 00001676  3401                     move.w     D2, D1
  2127. 00001678  4A82                     tst.l      D2
  2128. 0000167A  B480                     cmp.l      D2, D0
  2129. 0000167C  670E                     beq        +0x10 /* 0000168C */
  2130. 0000167E  1885                     move.b     [A4], D5
  2131. 00001680  6002                     bra        +0x4 /* 00001684 */
  2132. 00001682  6008                     bra        +0xA /* 0000168C */
  2133. label00001684:
  2134. 00001684  3006                     move.w     D0, D6
  2135. 00001686  5346                     subq.w     D6, 1
  2136. 00001688  B646                     cmp.w      D3, D6
  2137. 0000168A  6DD4                     blt        -0x2A /* 00001660 */
  2138. label0000168C:
  2139. 0000168C  3E04                     move.w     D7, D4
  2140. 0000168E  5347                     subq.w     D7, 1
  2141. 00001690  4A47                     tst.w      D7
  2142. 00001692  6D04                     blt        +0x6 /* 00001698 */
  2143. label00001694:
  2144. 00001694  51CF FFFE                dbf        D7, -0x4 /* 00001694 */
  2145. label00001698:
  2146. 00001698  0045 0001                ori.w      D5, 0x1
  2147. 0000169C  1885                     move.b     [A4], D5
  2148. 0000169E  6002                     bra        +0x4 /* 000016A2 */
  2149. 000016A0  6010                     bra        +0x12 /* 000016B2 */
  2150. label000016A2:
  2151. 000016A2  302E FFF4                move.w     D0, [A6 - 0xC]
  2152. 000016A6  536E FFF4                subq.w     [A6 - 0xC], 1
  2153. 000016AA  B66E FFF4                cmp.w      D3, [A6 - 0xC]
  2154. 000016AE  6D00 FF54                blt        -0xAA /* 00001604 */
  2155. label000016B2:
  2156. 000016B2  4A6E FFF4                tst.w      [A6 - 0xC]
  2157. 000016B6  6618                     bne        +0x1A /* 000016D0 */
  2158. 000016B8  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2159. 000016BC  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2160. 000016C0  2049                     movea.l    A0, A1
  2161. 000016C2  1010                     move.b     D0, [A0]
  2162. 000016C4  A05D                     syscall    SwapMMUMode
  2163. 000016C6  1080                     move.b     [A0], D0
  2164. 000016C8  303C E08E                move.w     D0, 0xE08E
  2165. 000016CC  6000 0644                bra        +0x646 /* 00001D12 */
  2166. label000016D0:
  2167. 000016D0  3E04                     move.w     D7, D4
  2168. 000016D2  5347                     subq.w     D7, 1
  2169. 000016D4  4A47                     tst.w      D7
  2170. 000016D6  6D04                     blt        +0x6 /* 000016DC */
  2171. label000016D8:
  2172. 000016D8  51CF FFFE                dbf        D7, -0x4 /* 000016D8 */
  2173. label000016DC:
  2174. 000016DC  0885 0000                bclr.b     D5, 0x0
  2175. 000016E0  1885                     move.b     [A4], D5
  2176. 000016E2  3E04                     move.w     D7, D4
  2177. 000016E4  5347                     subq.w     D7, 1
  2178. 000016E6  4A47                     tst.w      D7
  2179. 000016E8  6D04                     blt        +0x6 /* 000016EE */
  2180. label000016EA:
  2181. 000016EA  51CF FFFE                dbf        D7, -0x4 /* 000016EA */
  2182. label000016EE:
  2183. 000016EE  303C 00FE                move.w     D0, 0xFE
  2184. 000016F2  C06E 000A                and.w      D0, [A6 + 0xA]
  2185. 000016F6  3D40 FFF0                move.w     [A6 - 0x10], D0
  2186. 000016FA  3D7C 0007 FFF2           move.w     [A6 - 0xE], 0x7
  2187. 00001700  7600                     moveq.l    D3, 0x00
  2188. label00001702:
  2189. 00001702  0245 FFFD                andi.w     D5, 0xFFFD
  2190. 00001706  3C3C 0BB8                move.w     D6, 0xBB8
  2191. label0000170A:
  2192. 0000170A  7000                     moveq.l    D0, 0x00
  2193. 0000170C  1014                     move.b     D0, [A4]
  2194. 0000170E  4A80                     tst.l      D0
  2195. 00001710  7202                     moveq.l    D1, 0x02
  2196. 00001712  C200                     and.b      D1, D0
  2197. 00001714  7000                     moveq.l    D0, 0x00
  2198. 00001716  1001                     move.b     D0, D1
  2199. 00001718  4A80                     tst.l      D0
  2200. 0000171A  7202                     moveq.l    D1, 0x02
  2201. 0000171C  C245                     and.w      D1, D5
  2202. 0000171E  7400                     moveq.l    D2, 0x00
  2203. 00001720  3401                     move.w     D2, D1
  2204. 00001722  4A82                     tst.l      D2
  2205. 00001724  B480                     cmp.l      D2, D0
  2206. 00001726  670E                     beq        +0x10 /* 00001736 */
  2207. 00001728  1885                     move.b     [A4], D5
  2208. 0000172A  6002                     bra        +0x4 /* 0000172E */
  2209. 0000172C  6008                     bra        +0xA /* 00001736 */
  2210. label0000172E:
  2211. 0000172E  3006                     move.w     D0, D6
  2212. 00001730  5346                     subq.w     D6, 1
  2213. 00001732  B646                     cmp.w      D3, D6
  2214. 00001734  6DD4                     blt        -0x2A /* 0000170A */
  2215. label00001736:
  2216. 00001736  302E FFF2                move.w     D0, [A6 - 0xE]
  2217. 0000173A  322E FFF0                move.w     D1, [A6 - 0x10]
  2218. 0000173E  E061                     asr        D1.w, D0
  2219. 00001740  0801 0000                btst.b     D1, 0x0
  2220. 00001744  6706                     beq        +0x8 /* 0000174C */
  2221. 00001746  0045 0001                ori.w      D5, 0x1
  2222. 0000174A  6004                     bra        +0x6 /* 00001750 */
  2223. label0000174C:
  2224. 0000174C  0885 0000                bclr.b     D5, 0x0
  2225. label00001750:
  2226. 00001750  1885                     move.b     [A4], D5
  2227. 00001752  3E04                     move.w     D7, D4
  2228. 00001754  5347                     subq.w     D7, 1
  2229. 00001756  4A47                     tst.w      D7
  2230. 00001758  6D04                     blt        +0x6 /* 0000175E */
  2231. label0000175A:
  2232. 0000175A  51CF FFFE                dbf        D7, -0x4 /* 0000175A */
  2233. label0000175E:
  2234. 0000175E  0045 0002                ori.w      D5, 0x2
  2235. 00001762  3C3C 0BB8                move.w     D6, 0xBB8
  2236. label00001766:
  2237. 00001766  7000                     moveq.l    D0, 0x00
  2238. 00001768  1014                     move.b     D0, [A4]
  2239. 0000176A  4A80                     tst.l      D0
  2240. 0000176C  7202                     moveq.l    D1, 0x02
  2241. 0000176E  C200                     and.b      D1, D0
  2242. 00001770  7000                     moveq.l    D0, 0x00
  2243. 00001772  1001                     move.b     D0, D1
  2244. 00001774  4A80                     tst.l      D0
  2245. 00001776  7202                     moveq.l    D1, 0x02
  2246. 00001778  C245                     and.w      D1, D5
  2247. 0000177A  7400                     moveq.l    D2, 0x00
  2248. 0000177C  3401                     move.w     D2, D1
  2249. 0000177E  4A82                     tst.l      D2
  2250. 00001780  B480                     cmp.l      D2, D0
  2251. 00001782  670E                     beq        +0x10 /* 00001792 */
  2252. 00001784  1885                     move.b     [A4], D5
  2253. 00001786  6002                     bra        +0x4 /* 0000178A */
  2254. 00001788  6008                     bra        +0xA /* 00001792 */
  2255. label0000178A:
  2256. 0000178A  3006                     move.w     D0, D6
  2257. 0000178C  5346                     subq.w     D6, 1
  2258. 0000178E  B646                     cmp.w      D3, D6
  2259. 00001790  6DD4                     blt        -0x2A /* 00001766 */
  2260. label00001792:
  2261. 00001792  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2262. 00001796  5347                     subq.w     D7, 1
  2263. 00001798  4A47                     tst.w      D7
  2264. 0000179A  6D04                     blt        +0x6 /* 000017A0 */
  2265. label0000179C:
  2266. 0000179C  51CF FFFE                dbf        D7, -0x4 /* 0000179C */
  2267. label000017A0:
  2268. 000017A0  302E FFF2                move.w     D0, [A6 - 0xE]
  2269. 000017A4  536E FFF2                subq.w     [A6 - 0xE], 1
  2270. 000017A8  B66E FFF2                cmp.w      D3, [A6 - 0xE]
  2271. 000017AC  6F00 FF54                ble        -0xAA /* 00001702 */
  2272. 000017B0  0245 FFFD                andi.w     D5, 0xFFFD
  2273. 000017B4  3C3C 0BB8                move.w     D6, 0xBB8
  2274. 000017B8  7600                     moveq.l    D3, 0x00
  2275. label000017BA:
  2276. 000017BA  7000                     moveq.l    D0, 0x00
  2277. 000017BC  1014                     move.b     D0, [A4]
  2278. 000017BE  4A80                     tst.l      D0
  2279. 000017C0  7202                     moveq.l    D1, 0x02
  2280. 000017C2  C200                     and.b      D1, D0
  2281. 000017C4  7000                     moveq.l    D0, 0x00
  2282. 000017C6  1001                     move.b     D0, D1
  2283. 000017C8  4A80                     tst.l      D0
  2284. 000017CA  7202                     moveq.l    D1, 0x02
  2285. 000017CC  C245                     and.w      D1, D5
  2286. 000017CE  7400                     moveq.l    D2, 0x00
  2287. 000017D0  3401                     move.w     D2, D1
  2288. 000017D2  4A82                     tst.l      D2
  2289. 000017D4  B480                     cmp.l      D2, D0
  2290. 000017D6  670E                     beq        +0x10 /* 000017E6 */
  2291. 000017D8  1885                     move.b     [A4], D5
  2292. 000017DA  6002                     bra        +0x4 /* 000017DE */
  2293. 000017DC  6008                     bra        +0xA /* 000017E6 */
  2294. label000017DE:
  2295. 000017DE  3006                     move.w     D0, D6
  2296. 000017E0  5346                     subq.w     D6, 1
  2297. 000017E2  B646                     cmp.w      D3, D6
  2298. 000017E4  6DD4                     blt        -0x2A /* 000017BA */
  2299. label000017E6:
  2300. 000017E6  0045 0001                ori.w      D5, 0x1
  2301. 000017EA  1885                     move.b     [A4], D5
  2302. 000017EC  3D7C 0BB8 FFEE           move.w     [A6 - 0x12], 0xBB8
  2303. 000017F2  7600                     moveq.l    D3, 0x00
  2304. label000017F4:
  2305. 000017F4  3E04                     move.w     D7, D4
  2306. 000017F6  5347                     subq.w     D7, 1
  2307. 000017F8  4A47                     tst.w      D7
  2308. 000017FA  6D04                     blt        +0x6 /* 00001800 */
  2309. label000017FC:
  2310. 000017FC  51CF FFFE                dbf        D7, -0x4 /* 000017FC */
  2311. label00001800:
  2312. 00001800  7000                     moveq.l    D0, 0x00
  2313. 00001802  1014                     move.b     D0, [A4]
  2314. 00001804  4A80                     tst.l      D0
  2315. 00001806  7201                     moveq.l    D1, 0x01
  2316. 00001808  C200                     and.b      D1, D0
  2317. 0000180A  7000                     moveq.l    D0, 0x00
  2318. 0000180C  1001                     move.b     D0, D1
  2319. 0000180E  4A80                     tst.l      D0
  2320. 00001810  670E                     beq        +0x10 /* 00001820 */
  2321. 00001812  302E FFEE                move.w     D0, [A6 - 0x12]
  2322. 00001816  536E FFEE                subq.w     [A6 - 0x12], 1
  2323. 0000181A  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  2324. 0000181E  6DD4                     blt        -0x2A /* 000017F4 */
  2325. label00001820:
  2326. 00001820  4A6E FFEE                tst.w      [A6 - 0x12]
  2327. 00001824  664E                     bne        +0x50 /* 00001874 */
  2328. 00001826  0045 0002                ori.w      D5, 0x2
  2329. 0000182A  3C3C 0BB8                move.w     D6, 0xBB8
  2330. 0000182E  7600                     moveq.l    D3, 0x00
  2331. label00001830:
  2332. 00001830  7000                     moveq.l    D0, 0x00
  2333. 00001832  1014                     move.b     D0, [A4]
  2334. 00001834  4A80                     tst.l      D0
  2335. 00001836  7202                     moveq.l    D1, 0x02
  2336. 00001838  C200                     and.b      D1, D0
  2337. 0000183A  7000                     moveq.l    D0, 0x00
  2338. 0000183C  1001                     move.b     D0, D1
  2339. 0000183E  4A80                     tst.l      D0
  2340. 00001840  7202                     moveq.l    D1, 0x02
  2341. 00001842  C245                     and.w      D1, D5
  2342. 00001844  7400                     moveq.l    D2, 0x00
  2343. 00001846  3401                     move.w     D2, D1
  2344. 00001848  4A82                     tst.l      D2
  2345. 0000184A  B480                     cmp.l      D2, D0
  2346. 0000184C  670E                     beq        +0x10 /* 0000185C */
  2347. 0000184E  1885                     move.b     [A4], D5
  2348. 00001850  6002                     bra        +0x4 /* 00001854 */
  2349. 00001852  6008                     bra        +0xA /* 0000185C */
  2350. label00001854:
  2351. 00001854  3006                     move.w     D0, D6
  2352. 00001856  5346                     subq.w     D6, 1
  2353. 00001858  B646                     cmp.w      D3, D6
  2354. 0000185A  6DD4                     blt        -0x2A /* 00001830 */
  2355. label0000185C:
  2356. 0000185C  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2357. 00001860  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2358. 00001864  2049                     movea.l    A0, A1
  2359. 00001866  1010                     move.b     D0, [A0]
  2360. 00001868  A05D                     syscall    SwapMMUMode
  2361. 0000186A  1080                     move.b     [A0], D0
  2362. 0000186C  303C E08E                move.w     D0, 0xE08E
  2363. 00001870  6000 04A0                bra        +0x4A2 /* 00001D12 */
  2364. label00001874:
  2365. 00001874  0045 0002                ori.w      D5, 0x2
  2366. 00001878  3C3C 0BB8                move.w     D6, 0xBB8
  2367. 0000187C  7600                     moveq.l    D3, 0x00
  2368. label0000187E:
  2369. 0000187E  7000                     moveq.l    D0, 0x00
  2370. 00001880  1014                     move.b     D0, [A4]
  2371. 00001882  4A80                     tst.l      D0
  2372. 00001884  7202                     moveq.l    D1, 0x02
  2373. 00001886  C200                     and.b      D1, D0
  2374. 00001888  7000                     moveq.l    D0, 0x00
  2375. 0000188A  1001                     move.b     D0, D1
  2376. 0000188C  4A80                     tst.l      D0
  2377. 0000188E  7202                     moveq.l    D1, 0x02
  2378. 00001890  C245                     and.w      D1, D5
  2379. 00001892  7400                     moveq.l    D2, 0x00
  2380. 00001894  3401                     move.w     D2, D1
  2381. 00001896  4A82                     tst.l      D2
  2382. 00001898  B480                     cmp.l      D2, D0
  2383. 0000189A  670E                     beq        +0x10 /* 000018AA */
  2384. 0000189C  1885                     move.b     [A4], D5
  2385. 0000189E  6002                     bra        +0x4 /* 000018A2 */
  2386. 000018A0  6008                     bra        +0xA /* 000018AA */
  2387. label000018A2:
  2388. 000018A2  3006                     move.w     D0, D6
  2389. 000018A4  5346                     subq.w     D6, 1
  2390. 000018A6  B646                     cmp.w      D3, D6
  2391. 000018A8  6DD4                     blt        -0x2A /* 0000187E */
  2392. label000018AA:
  2393. 000018AA  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2394. 000018AE  5347                     subq.w     D7, 1
  2395. 000018B0  4A47                     tst.w      D7
  2396. 000018B2  6D04                     blt        +0x6 /* 000018B8 */
  2397. label000018B4:
  2398. 000018B4  51CF FFFE                dbf        D7, -0x4 /* 000018B4 */
  2399. label000018B8:
  2400. 000018B8  3D6E 000E FFF0           move.w     [A6 - 0x10], [A6 + 0xE]
  2401. 000018BE  3D7C 0007 FFF2           move.w     [A6 - 0xE], 0x7
  2402. 000018C4  7600                     moveq.l    D3, 0x00
  2403. label000018C6:
  2404. 000018C6  0245 FFFD                andi.w     D5, 0xFFFD
  2405. 000018CA  3C3C 0BB8                move.w     D6, 0xBB8
  2406. label000018CE:
  2407. 000018CE  7000                     moveq.l    D0, 0x00
  2408. 000018D0  1014                     move.b     D0, [A4]
  2409. 000018D2  4A80                     tst.l      D0
  2410. 000018D4  7202                     moveq.l    D1, 0x02
  2411. 000018D6  C200                     and.b      D1, D0
  2412. 000018D8  7000                     moveq.l    D0, 0x00
  2413. 000018DA  1001                     move.b     D0, D1
  2414. 000018DC  4A80                     tst.l      D0
  2415. 000018DE  7202                     moveq.l    D1, 0x02
  2416. 000018E0  C245                     and.w      D1, D5
  2417. 000018E2  7400                     moveq.l    D2, 0x00
  2418. 000018E4  3401                     move.w     D2, D1
  2419. 000018E6  4A82                     tst.l      D2
  2420. 000018E8  B480                     cmp.l      D2, D0
  2421. 000018EA  670E                     beq        +0x10 /* 000018FA */
  2422. 000018EC  1885                     move.b     [A4], D5
  2423. 000018EE  6002                     bra        +0x4 /* 000018F2 */
  2424. 000018F0  6008                     bra        +0xA /* 000018FA */
  2425. label000018F2:
  2426. 000018F2  3006                     move.w     D0, D6
  2427. 000018F4  5346                     subq.w     D6, 1
  2428. 000018F6  B646                     cmp.w      D3, D6
  2429. 000018F8  6DD4                     blt        -0x2A /* 000018CE */
  2430. label000018FA:
  2431. 000018FA  302E FFF2                move.w     D0, [A6 - 0xE]
  2432. 000018FE  322E FFF0                move.w     D1, [A6 - 0x10]
  2433. 00001902  E061                     asr        D1.w, D0
  2434. 00001904  0801 0000                btst.b     D1, 0x0
  2435. 00001908  6706                     beq        +0x8 /* 00001910 */
  2436. 0000190A  0045 0001                ori.w      D5, 0x1
  2437. 0000190E  6004                     bra        +0x6 /* 00001914 */
  2438. label00001910:
  2439. 00001910  0885 0000                bclr.b     D5, 0x0
  2440. label00001914:
  2441. 00001914  1885                     move.b     [A4], D5
  2442. 00001916  3E04                     move.w     D7, D4
  2443. 00001918  5347                     subq.w     D7, 1
  2444. 0000191A  4A47                     tst.w      D7
  2445. 0000191C  6D04                     blt        +0x6 /* 00001922 */
  2446. label0000191E:
  2447. 0000191E  51CF FFFE                dbf        D7, -0x4 /* 0000191E */
  2448. label00001922:
  2449. 00001922  0045 0002                ori.w      D5, 0x2
  2450. 00001926  3C3C 0BB8                move.w     D6, 0xBB8
  2451. label0000192A:
  2452. 0000192A  7000                     moveq.l    D0, 0x00
  2453. 0000192C  1014                     move.b     D0, [A4]
  2454. 0000192E  4A80                     tst.l      D0
  2455. 00001930  7202                     moveq.l    D1, 0x02
  2456. 00001932  C200                     and.b      D1, D0
  2457. 00001934  7000                     moveq.l    D0, 0x00
  2458. 00001936  1001                     move.b     D0, D1
  2459. 00001938  4A80                     tst.l      D0
  2460. 0000193A  7202                     moveq.l    D1, 0x02
  2461. 0000193C  C245                     and.w      D1, D5
  2462. 0000193E  7400                     moveq.l    D2, 0x00
  2463. 00001940  3401                     move.w     D2, D1
  2464. 00001942  4A82                     tst.l      D2
  2465. 00001944  B480                     cmp.l      D2, D0
  2466. 00001946  670E                     beq        +0x10 /* 00001956 */
  2467. 00001948  1885                     move.b     [A4], D5
  2468. 0000194A  6002                     bra        +0x4 /* 0000194E */
  2469. 0000194C  6008                     bra        +0xA /* 00001956 */
  2470. label0000194E:
  2471. 0000194E  3006                     move.w     D0, D6
  2472. 00001950  5346                     subq.w     D6, 1
  2473. 00001952  B646                     cmp.w      D3, D6
  2474. 00001954  6DD4                     blt        -0x2A /* 0000192A */
  2475. label00001956:
  2476. 00001956  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2477. 0000195A  5347                     subq.w     D7, 1
  2478. 0000195C  4A47                     tst.w      D7
  2479. 0000195E  6D04                     blt        +0x6 /* 00001964 */
  2480. label00001960:
  2481. 00001960  51CF FFFE                dbf        D7, -0x4 /* 00001960 */
  2482. label00001964:
  2483. 00001964  302E FFF2                move.w     D0, [A6 - 0xE]
  2484. 00001968  536E FFF2                subq.w     [A6 - 0xE], 1
  2485. 0000196C  B66E FFF2                cmp.w      D3, [A6 - 0xE]
  2486. 00001970  6F00 FF54                ble        -0xAA /* 000018C6 */
  2487. 00001974  0245 FFFD                andi.w     D5, 0xFFFD
  2488. 00001978  3C3C 0BB8                move.w     D6, 0xBB8
  2489. 0000197C  7600                     moveq.l    D3, 0x00
  2490. label0000197E:
  2491. 0000197E  7000                     moveq.l    D0, 0x00
  2492. 00001980  1014                     move.b     D0, [A4]
  2493. 00001982  4A80                     tst.l      D0
  2494. 00001984  7202                     moveq.l    D1, 0x02
  2495. 00001986  C200                     and.b      D1, D0
  2496. 00001988  7000                     moveq.l    D0, 0x00
  2497. 0000198A  1001                     move.b     D0, D1
  2498. 0000198C  4A80                     tst.l      D0
  2499. 0000198E  7202                     moveq.l    D1, 0x02
  2500. 00001990  C245                     and.w      D1, D5
  2501. 00001992  7400                     moveq.l    D2, 0x00
  2502. 00001994  3401                     move.w     D2, D1
  2503. 00001996  4A82                     tst.l      D2
  2504. 00001998  B480                     cmp.l      D2, D0
  2505. 0000199A  670E                     beq        +0x10 /* 000019AA */
  2506. 0000199C  1885                     move.b     [A4], D5
  2507. 0000199E  6002                     bra        +0x4 /* 000019A2 */
  2508. 000019A0  6008                     bra        +0xA /* 000019AA */
  2509. label000019A2:
  2510. 000019A2  3006                     move.w     D0, D6
  2511. 000019A4  5346                     subq.w     D6, 1
  2512. 000019A6  B646                     cmp.w      D3, D6
  2513. 000019A8  6DD4                     blt        -0x2A /* 0000197E */
  2514. label000019AA:
  2515. 000019AA  0045 0001                ori.w      D5, 0x1
  2516. 000019AE  1885                     move.b     [A4], D5
  2517. 000019B0  3D7C 0BB8 FFEE           move.w     [A6 - 0x12], 0xBB8
  2518. 000019B6  7600                     moveq.l    D3, 0x00
  2519. label000019B8:
  2520. 000019B8  3E04                     move.w     D7, D4
  2521. 000019BA  5347                     subq.w     D7, 1
  2522. 000019BC  4A47                     tst.w      D7
  2523. 000019BE  6D04                     blt        +0x6 /* 000019C4 */
  2524. label000019C0:
  2525. 000019C0  51CF FFFE                dbf        D7, -0x4 /* 000019C0 */
  2526. label000019C4:
  2527. 000019C4  7000                     moveq.l    D0, 0x00
  2528. 000019C6  1014                     move.b     D0, [A4]
  2529. 000019C8  4A80                     tst.l      D0
  2530. 000019CA  7201                     moveq.l    D1, 0x01
  2531. 000019CC  C200                     and.b      D1, D0
  2532. 000019CE  7000                     moveq.l    D0, 0x00
  2533. 000019D0  1001                     move.b     D0, D1
  2534. 000019D2  4A80                     tst.l      D0
  2535. 000019D4  670E                     beq        +0x10 /* 000019E4 */
  2536. 000019D6  302E FFEE                move.w     D0, [A6 - 0x12]
  2537. 000019DA  536E FFEE                subq.w     [A6 - 0x12], 1
  2538. 000019DE  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  2539. 000019E2  6DD4                     blt        -0x2A /* 000019B8 */
  2540. label000019E4:
  2541. 000019E4  4A6E FFEE                tst.w      [A6 - 0x12]
  2542. 000019E8  664E                     bne        +0x50 /* 00001A38 */
  2543. 000019EA  0045 0002                ori.w      D5, 0x2
  2544. 000019EE  3C3C 0BB8                move.w     D6, 0xBB8
  2545. 000019F2  7600                     moveq.l    D3, 0x00
  2546. label000019F4:
  2547. 000019F4  7000                     moveq.l    D0, 0x00
  2548. 000019F6  1014                     move.b     D0, [A4]
  2549. 000019F8  4A80                     tst.l      D0
  2550. 000019FA  7202                     moveq.l    D1, 0x02
  2551. 000019FC  C200                     and.b      D1, D0
  2552. 000019FE  7000                     moveq.l    D0, 0x00
  2553. 00001A00  1001                     move.b     D0, D1
  2554. 00001A02  4A80                     tst.l      D0
  2555. 00001A04  7202                     moveq.l    D1, 0x02
  2556. 00001A06  C245                     and.w      D1, D5
  2557. 00001A08  7400                     moveq.l    D2, 0x00
  2558. 00001A0A  3401                     move.w     D2, D1
  2559. 00001A0C  4A82                     tst.l      D2
  2560. 00001A0E  B480                     cmp.l      D2, D0
  2561. 00001A10  670E                     beq        +0x10 /* 00001A20 */
  2562. 00001A12  1885                     move.b     [A4], D5
  2563. 00001A14  6002                     bra        +0x4 /* 00001A18 */
  2564. 00001A16  6008                     bra        +0xA /* 00001A20 */
  2565. label00001A18:
  2566. 00001A18  3006                     move.w     D0, D6
  2567. 00001A1A  5346                     subq.w     D6, 1
  2568. 00001A1C  B646                     cmp.w      D3, D6
  2569. 00001A1E  6DD4                     blt        -0x2A /* 000019F4 */
  2570. label00001A20:
  2571. 00001A20  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2572. 00001A24  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2573. 00001A28  2049                     movea.l    A0, A1
  2574. 00001A2A  1010                     move.b     D0, [A0]
  2575. 00001A2C  A05D                     syscall    SwapMMUMode
  2576. 00001A2E  1080                     move.b     [A0], D0
  2577. 00001A30  303C E08E                move.w     D0, 0xE08E
  2578. 00001A34  6000 02DC                bra        +0x2DE /* 00001D12 */
  2579. label00001A38:
  2580. 00001A38  0045 0002                ori.w      D5, 0x2
  2581. 00001A3C  3C3C 0BB8                move.w     D6, 0xBB8
  2582. 00001A40  7600                     moveq.l    D3, 0x00
  2583. label00001A42:
  2584. 00001A42  7000                     moveq.l    D0, 0x00
  2585. 00001A44  1014                     move.b     D0, [A4]
  2586. 00001A46  4A80                     tst.l      D0
  2587. 00001A48  7202                     moveq.l    D1, 0x02
  2588. 00001A4A  C200                     and.b      D1, D0
  2589. 00001A4C  7000                     moveq.l    D0, 0x00
  2590. 00001A4E  1001                     move.b     D0, D1
  2591. 00001A50  4A80                     tst.l      D0
  2592. 00001A52  7202                     moveq.l    D1, 0x02
  2593. 00001A54  C245                     and.w      D1, D5
  2594. 00001A56  7400                     moveq.l    D2, 0x00
  2595. 00001A58  3401                     move.w     D2, D1
  2596. 00001A5A  4A82                     tst.l      D2
  2597. 00001A5C  B480                     cmp.l      D2, D0
  2598. 00001A5E  670E                     beq        +0x10 /* 00001A6E */
  2599. 00001A60  1885                     move.b     [A4], D5
  2600. 00001A62  6002                     bra        +0x4 /* 00001A66 */
  2601. 00001A64  6008                     bra        +0xA /* 00001A6E */
  2602. label00001A66:
  2603. 00001A66  3006                     move.w     D0, D6
  2604. 00001A68  5346                     subq.w     D6, 1
  2605. 00001A6A  B646                     cmp.w      D3, D6
  2606. 00001A6C  6DD4                     blt        -0x2A /* 00001A42 */
  2607. label00001A6E:
  2608. 00001A6E  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2609. 00001A72  5347                     subq.w     D7, 1
  2610. 00001A74  4A47                     tst.w      D7
  2611. 00001A76  6D04                     blt        +0x6 /* 00001A7C */
  2612. label00001A78:
  2613. 00001A78  51CF FFFE                dbf        D7, -0x4 /* 00001A78 */
  2614. label00001A7C:
  2615. 00001A7C  3D6E 0012 FFF0           move.w     [A6 - 0x10], [A6 + 0x12]
  2616. 00001A82  3D7C 0007 FFF2           move.w     [A6 - 0xE], 0x7
  2617. 00001A88  7600                     moveq.l    D3, 0x00
  2618. label00001A8A:
  2619. 00001A8A  0245 FFFD                andi.w     D5, 0xFFFD
  2620. 00001A8E  3C3C 0BB8                move.w     D6, 0xBB8
  2621. label00001A92:
  2622. 00001A92  7000                     moveq.l    D0, 0x00
  2623. 00001A94  1014                     move.b     D0, [A4]
  2624. 00001A96  4A80                     tst.l      D0
  2625. 00001A98  7202                     moveq.l    D1, 0x02
  2626. 00001A9A  C200                     and.b      D1, D0
  2627. 00001A9C  7000                     moveq.l    D0, 0x00
  2628. 00001A9E  1001                     move.b     D0, D1
  2629. 00001AA0  4A80                     tst.l      D0
  2630. 00001AA2  7202                     moveq.l    D1, 0x02
  2631. 00001AA4  C245                     and.w      D1, D5
  2632. 00001AA6  7400                     moveq.l    D2, 0x00
  2633. 00001AA8  3401                     move.w     D2, D1
  2634. 00001AAA  4A82                     tst.l      D2
  2635. 00001AAC  B480                     cmp.l      D2, D0
  2636. 00001AAE  670E                     beq        +0x10 /* 00001ABE */
  2637. 00001AB0  1885                     move.b     [A4], D5
  2638. 00001AB2  6002                     bra        +0x4 /* 00001AB6 */
  2639. 00001AB4  6008                     bra        +0xA /* 00001ABE */
  2640. label00001AB6:
  2641. 00001AB6  3006                     move.w     D0, D6
  2642. 00001AB8  5346                     subq.w     D6, 1
  2643. 00001ABA  B646                     cmp.w      D3, D6
  2644. 00001ABC  6DD4                     blt        -0x2A /* 00001A92 */
  2645. label00001ABE:
  2646. 00001ABE  302E FFF2                move.w     D0, [A6 - 0xE]
  2647. 00001AC2  322E FFF0                move.w     D1, [A6 - 0x10]
  2648. 00001AC6  E061                     asr        D1.w, D0
  2649. 00001AC8  0801 0000                btst.b     D1, 0x0
  2650. 00001ACC  6706                     beq        +0x8 /* 00001AD4 */
  2651. 00001ACE  0045 0001                ori.w      D5, 0x1
  2652. 00001AD2  6004                     bra        +0x6 /* 00001AD8 */
  2653. label00001AD4:
  2654. 00001AD4  0885 0000                bclr.b     D5, 0x0
  2655. label00001AD8:
  2656. 00001AD8  1885                     move.b     [A4], D5
  2657. 00001ADA  3E04                     move.w     D7, D4
  2658. 00001ADC  5347                     subq.w     D7, 1
  2659. 00001ADE  4A47                     tst.w      D7
  2660. 00001AE0  6D04                     blt        +0x6 /* 00001AE6 */
  2661. label00001AE2:
  2662. 00001AE2  51CF FFFE                dbf        D7, -0x4 /* 00001AE2 */
  2663. label00001AE6:
  2664. 00001AE6  0045 0002                ori.w      D5, 0x2
  2665. 00001AEA  3C3C 0BB8                move.w     D6, 0xBB8
  2666. label00001AEE:
  2667. 00001AEE  7000                     moveq.l    D0, 0x00
  2668. 00001AF0  1014                     move.b     D0, [A4]
  2669. 00001AF2  4A80                     tst.l      D0
  2670. 00001AF4  7202                     moveq.l    D1, 0x02
  2671. 00001AF6  C200                     and.b      D1, D0
  2672. 00001AF8  7000                     moveq.l    D0, 0x00
  2673. 00001AFA  1001                     move.b     D0, D1
  2674. 00001AFC  4A80                     tst.l      D0
  2675. 00001AFE  7202                     moveq.l    D1, 0x02
  2676. 00001B00  C245                     and.w      D1, D5
  2677. 00001B02  7400                     moveq.l    D2, 0x00
  2678. 00001B04  3401                     move.w     D2, D1
  2679. 00001B06  4A82                     tst.l      D2
  2680. 00001B08  B480                     cmp.l      D2, D0
  2681. 00001B0A  670E                     beq        +0x10 /* 00001B1A */
  2682. 00001B0C  1885                     move.b     [A4], D5
  2683. 00001B0E  6002                     bra        +0x4 /* 00001B12 */
  2684. 00001B10  6008                     bra        +0xA /* 00001B1A */
  2685. label00001B12:
  2686. 00001B12  3006                     move.w     D0, D6
  2687. 00001B14  5346                     subq.w     D6, 1
  2688. 00001B16  B646                     cmp.w      D3, D6
  2689. 00001B18  6DD4                     blt        -0x2A /* 00001AEE */
  2690. label00001B1A:
  2691. 00001B1A  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2692. 00001B1E  5347                     subq.w     D7, 1
  2693. 00001B20  4A47                     tst.w      D7
  2694. 00001B22  6D04                     blt        +0x6 /* 00001B28 */
  2695. label00001B24:
  2696. 00001B24  51CF FFFE                dbf        D7, -0x4 /* 00001B24 */
  2697. label00001B28:
  2698. 00001B28  302E FFF2                move.w     D0, [A6 - 0xE]
  2699. 00001B2C  536E FFF2                subq.w     [A6 - 0xE], 1
  2700. 00001B30  B66E FFF2                cmp.w      D3, [A6 - 0xE]
  2701. 00001B34  6F00 FF54                ble        -0xAA /* 00001A8A */
  2702. 00001B38  0245 FFFD                andi.w     D5, 0xFFFD
  2703. 00001B3C  3C3C 0BB8                move.w     D6, 0xBB8
  2704. 00001B40  7600                     moveq.l    D3, 0x00
  2705. label00001B42:
  2706. 00001B42  7000                     moveq.l    D0, 0x00
  2707. 00001B44  1014                     move.b     D0, [A4]
  2708. 00001B46  4A80                     tst.l      D0
  2709. 00001B48  7202                     moveq.l    D1, 0x02
  2710. 00001B4A  C200                     and.b      D1, D0
  2711. 00001B4C  7000                     moveq.l    D0, 0x00
  2712. 00001B4E  1001                     move.b     D0, D1
  2713. 00001B50  4A80                     tst.l      D0
  2714. 00001B52  7202                     moveq.l    D1, 0x02
  2715. 00001B54  C245                     and.w      D1, D5
  2716. 00001B56  7400                     moveq.l    D2, 0x00
  2717. 00001B58  3401                     move.w     D2, D1
  2718. 00001B5A  4A82                     tst.l      D2
  2719. 00001B5C  B480                     cmp.l      D2, D0
  2720. 00001B5E  670E                     beq        +0x10 /* 00001B6E */
  2721. 00001B60  1885                     move.b     [A4], D5
  2722. 00001B62  6002                     bra        +0x4 /* 00001B66 */
  2723. 00001B64  6008                     bra        +0xA /* 00001B6E */
  2724. label00001B66:
  2725. 00001B66  3006                     move.w     D0, D6
  2726. 00001B68  5346                     subq.w     D6, 1
  2727. 00001B6A  B646                     cmp.w      D3, D6
  2728. 00001B6C  6DD4                     blt        -0x2A /* 00001B42 */
  2729. label00001B6E:
  2730. 00001B6E  0045 0001                ori.w      D5, 0x1
  2731. 00001B72  1885                     move.b     [A4], D5
  2732. 00001B74  3D7C 0BB8 FFEE           move.w     [A6 - 0x12], 0xBB8
  2733. 00001B7A  7600                     moveq.l    D3, 0x00
  2734. label00001B7C:
  2735. 00001B7C  3E04                     move.w     D7, D4
  2736. 00001B7E  5347                     subq.w     D7, 1
  2737. 00001B80  4A47                     tst.w      D7
  2738. 00001B82  6D04                     blt        +0x6 /* 00001B88 */
  2739. label00001B84:
  2740. 00001B84  51CF FFFE                dbf        D7, -0x4 /* 00001B84 */
  2741. label00001B88:
  2742. 00001B88  7000                     moveq.l    D0, 0x00
  2743. 00001B8A  1014                     move.b     D0, [A4]
  2744. 00001B8C  4A80                     tst.l      D0
  2745. 00001B8E  7201                     moveq.l    D1, 0x01
  2746. 00001B90  C200                     and.b      D1, D0
  2747. 00001B92  7000                     moveq.l    D0, 0x00
  2748. 00001B94  1001                     move.b     D0, D1
  2749. 00001B96  4A80                     tst.l      D0
  2750. 00001B98  670E                     beq        +0x10 /* 00001BA8 */
  2751. 00001B9A  302E FFEE                move.w     D0, [A6 - 0x12]
  2752. 00001B9E  536E FFEE                subq.w     [A6 - 0x12], 1
  2753. 00001BA2  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  2754. 00001BA6  6DD4                     blt        -0x2A /* 00001B7C */
  2755. label00001BA8:
  2756. 00001BA8  0045 0002                ori.w      D5, 0x2
  2757. 00001BAC  3C3C 0BB8                move.w     D6, 0xBB8
  2758. 00001BB0  7600                     moveq.l    D3, 0x00
  2759. label00001BB2:
  2760. 00001BB2  7000                     moveq.l    D0, 0x00
  2761. 00001BB4  1014                     move.b     D0, [A4]
  2762. 00001BB6  4A80                     tst.l      D0
  2763. 00001BB8  7202                     moveq.l    D1, 0x02
  2764. 00001BBA  C200                     and.b      D1, D0
  2765. 00001BBC  7000                     moveq.l    D0, 0x00
  2766. 00001BBE  1001                     move.b     D0, D1
  2767. 00001BC0  4A80                     tst.l      D0
  2768. 00001BC2  7202                     moveq.l    D1, 0x02
  2769. 00001BC4  C245                     and.w      D1, D5
  2770. 00001BC6  7400                     moveq.l    D2, 0x00
  2771. 00001BC8  3401                     move.w     D2, D1
  2772. 00001BCA  4A82                     tst.l      D2
  2773. 00001BCC  B480                     cmp.l      D2, D0
  2774. 00001BCE  670E                     beq        +0x10 /* 00001BDE */
  2775. 00001BD0  1885                     move.b     [A4], D5
  2776. 00001BD2  6002                     bra        +0x4 /* 00001BD6 */
  2777. 00001BD4  6008                     bra        +0xA /* 00001BDE */
  2778. label00001BD6:
  2779. 00001BD6  3006                     move.w     D0, D6
  2780. 00001BD8  5346                     subq.w     D6, 1
  2781. 00001BDA  B646                     cmp.w      D3, D6
  2782. 00001BDC  6DD4                     blt        -0x2A /* 00001BB2 */
  2783. label00001BDE:
  2784. 00001BDE  3E2E FFEC                move.w     D7, [A6 - 0x14]
  2785. 00001BE2  5347                     subq.w     D7, 1
  2786. 00001BE4  4A47                     tst.w      D7
  2787. 00001BE6  6D04                     blt        +0x6 /* 00001BEC */
  2788. label00001BE8:
  2789. 00001BE8  51CF FFFE                dbf        D7, -0x4 /* 00001BE8 */
  2790. label00001BEC:
  2791. 00001BEC  4A6E FFEE                tst.w      [A6 - 0x12]
  2792. 00001BF0  664E                     bne        +0x50 /* 00001C40 */
  2793. 00001BF2  0045 0002                ori.w      D5, 0x2
  2794. 00001BF6  3C3C 0BB8                move.w     D6, 0xBB8
  2795. 00001BFA  7600                     moveq.l    D3, 0x00
  2796. label00001BFC:
  2797. 00001BFC  7000                     moveq.l    D0, 0x00
  2798. 00001BFE  1014                     move.b     D0, [A4]
  2799. 00001C00  4A80                     tst.l      D0
  2800. 00001C02  7202                     moveq.l    D1, 0x02
  2801. 00001C04  C200                     and.b      D1, D0
  2802. 00001C06  7000                     moveq.l    D0, 0x00
  2803. 00001C08  1001                     move.b     D0, D1
  2804. 00001C0A  4A80                     tst.l      D0
  2805. 00001C0C  7202                     moveq.l    D1, 0x02
  2806. 00001C0E  C245                     and.w      D1, D5
  2807. 00001C10  7400                     moveq.l    D2, 0x00
  2808. 00001C12  3401                     move.w     D2, D1
  2809. 00001C14  4A82                     tst.l      D2
  2810. 00001C16  B480                     cmp.l      D2, D0
  2811. 00001C18  670E                     beq        +0x10 /* 00001C28 */
  2812. 00001C1A  1885                     move.b     [A4], D5
  2813. 00001C1C  6002                     bra        +0x4 /* 00001C20 */
  2814. 00001C1E  6008                     bra        +0xA /* 00001C28 */
  2815. label00001C20:
  2816. 00001C20  3006                     move.w     D0, D6
  2817. 00001C22  5346                     subq.w     D6, 1
  2818. 00001C24  B646                     cmp.w      D3, D6
  2819. 00001C26  6DD4                     blt        -0x2A /* 00001BFC */
  2820. label00001C28:
  2821. 00001C28  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2822. 00001C2C  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2823. 00001C30  2049                     movea.l    A0, A1
  2824. 00001C32  1010                     move.b     D0, [A0]
  2825. 00001C34  A05D                     syscall    SwapMMUMode
  2826. 00001C36  1080                     move.b     [A0], D0
  2827. 00001C38  303C E08E                move.w     D0, 0xE08E
  2828. 00001C3C  6000 00D4                bra        +0xD6 /* 00001D12 */
  2829. label00001C40:
  2830. 00001C40  0245 FFFD                andi.w     D5, 0xFFFD
  2831. 00001C44  3C3C 0BB8                move.w     D6, 0xBB8
  2832. 00001C48  7600                     moveq.l    D3, 0x00
  2833. label00001C4A:
  2834. 00001C4A  7000                     moveq.l    D0, 0x00
  2835. 00001C4C  1014                     move.b     D0, [A4]
  2836. 00001C4E  4A80                     tst.l      D0
  2837. 00001C50  7202                     moveq.l    D1, 0x02
  2838. 00001C52  C200                     and.b      D1, D0
  2839. 00001C54  7000                     moveq.l    D0, 0x00
  2840. 00001C56  1001                     move.b     D0, D1
  2841. 00001C58  4A80                     tst.l      D0
  2842. 00001C5A  7202                     moveq.l    D1, 0x02
  2843. 00001C5C  C245                     and.w      D1, D5
  2844. 00001C5E  7400                     moveq.l    D2, 0x00
  2845. 00001C60  3401                     move.w     D2, D1
  2846. 00001C62  4A82                     tst.l      D2
  2847. 00001C64  B480                     cmp.l      D2, D0
  2848. 00001C66  670E                     beq        +0x10 /* 00001C76 */
  2849. 00001C68  1885                     move.b     [A4], D5
  2850. 00001C6A  6002                     bra        +0x4 /* 00001C6E */
  2851. 00001C6C  6008                     bra        +0xA /* 00001C76 */
  2852. label00001C6E:
  2853. 00001C6E  3006                     move.w     D0, D6
  2854. 00001C70  5346                     subq.w     D6, 1
  2855. 00001C72  B646                     cmp.w      D3, D6
  2856. 00001C74  6DD4                     blt        -0x2A /* 00001C4A */
  2857. label00001C76:
  2858. 00001C76  0885 0000                bclr.b     D5, 0x0
  2859. 00001C7A  1885                     move.b     [A4], D5
  2860. 00001C7C  3E04                     move.w     D7, D4
  2861. 00001C7E  5347                     subq.w     D7, 1
  2862. 00001C80  4A47                     tst.w      D7
  2863. 00001C82  6D04                     blt        +0x6 /* 00001C88 */
  2864. label00001C84:
  2865. 00001C84  51CF FFFE                dbf        D7, -0x4 /* 00001C84 */
  2866. label00001C88:
  2867. 00001C88  0045 0002                ori.w      D5, 0x2
  2868. 00001C8C  3C3C 0BB8                move.w     D6, 0xBB8
  2869. 00001C90  7600                     moveq.l    D3, 0x00
  2870. label00001C92:
  2871. 00001C92  7000                     moveq.l    D0, 0x00
  2872. 00001C94  1014                     move.b     D0, [A4]
  2873. 00001C96  4A80                     tst.l      D0
  2874. 00001C98  7202                     moveq.l    D1, 0x02
  2875. 00001C9A  C200                     and.b      D1, D0
  2876. 00001C9C  7000                     moveq.l    D0, 0x00
  2877. 00001C9E  1001                     move.b     D0, D1
  2878. 00001CA0  4A80                     tst.l      D0
  2879. 00001CA2  7202                     moveq.l    D1, 0x02
  2880. 00001CA4  C245                     and.w      D1, D5
  2881. 00001CA6  7400                     moveq.l    D2, 0x00
  2882. 00001CA8  3401                     move.w     D2, D1
  2883. 00001CAA  4A82                     tst.l      D2
  2884. 00001CAC  B480                     cmp.l      D2, D0
  2885. 00001CAE  670E                     beq        +0x10 /* 00001CBE */
  2886. 00001CB0  1885                     move.b     [A4], D5
  2887. 00001CB2  6002                     bra        +0x4 /* 00001CB6 */
  2888. 00001CB4  6008                     bra        +0xA /* 00001CBE */
  2889. label00001CB6:
  2890. 00001CB6  3006                     move.w     D0, D6
  2891. 00001CB8  5346                     subq.w     D6, 1
  2892. 00001CBA  B646                     cmp.w      D3, D6
  2893. 00001CBC  6DD4                     blt        -0x2A /* 00001C92 */
  2894. label00001CBE:
  2895. 00001CBE  3E04                     move.w     D7, D4
  2896. 00001CC0  5347                     subq.w     D7, 1
  2897. 00001CC2  4A47                     tst.w      D7
  2898. 00001CC4  6D04                     blt        +0x6 /* 00001CCA */
  2899. label00001CC6:
  2900. 00001CC6  51CF FFFE                dbf        D7, -0x4 /* 00001CC6 */
  2901. label00001CCA:
  2902. 00001CCA  0045 0001                ori.w      D5, 0x1
  2903. 00001CCE  1885                     move.b     [A4], D5
  2904. 00001CD0  26AE FFFC                move.l     [A3], [A6 - 0x4]
  2905. 00001CD4  43EE FFFB                lea.l      A1, [A6 - 0x5]
  2906. 00001CD8  2049                     movea.l    A0, A1
  2907. 00001CDA  1010                     move.b     D0, [A0]
  2908. 00001CDC  A05D                     syscall    SwapMMUMode
  2909. 00001CDE  1080                     move.b     [A0], D0
  2910. 00001CE0  302E 000A                move.w     D0, [A6 + 0xA]
  2911. 00001CE4  0440 008A                subi.w     D0, 0x8A
  2912. 00001CE8  6708                     beq        +0xA /* 00001CF2 */
  2913. 00001CEA  0440 0056                subi.w     D0, 0x56 /* 'V' */
  2914. 00001CEE  6712                     beq        +0x14 /* 00001D02 */
  2915. 00001CF0  601E                     bra        +0x20 /* 00001D10 */
  2916. label00001CF2:
  2917. 00001CF2  206E 0014                movea.l    A0, [A6 + 0x14]
  2918. 00001CF6  302E 000E                move.w     D0, [A6 + 0xE]
  2919. 00001CFA  11AE 0013 002C           move.b     [A0 + D0.w + 0x2C], [A6 + 0x13]
  2920. 00001D00  600E                     bra        +0x10 /* 00001D10 */
  2921. label00001D02:
  2922. 00001D02  206E 0014                movea.l    A0, [A6 + 0x14]
  2923. 00001D06  302E 000E                move.w     D0, [A6 + 0xE]
  2924. 00001D0A  11AE 0013 0045           move.b     [A0 + D0.w + 0x45], [A6 + 0x13]
  2925. label00001D10:
  2926. 00001D10  7000                     moveq.l    D0, 0x00
  2927. label00001D12:
  2928. 00001D12  4CEE 18F8 FFD0           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x30]
  2929. 00001D18  4E5E                     unlink     A6
  2930. 00001D1A  4E75                     rts
  2931. fn00001D1C:
  2932. 00001D1C  4E56 FFE4                link       A6, -0x001C
  2933. 00001D20  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  2934. 00001D24  206E 0014                movea.l    A0, [A6 + 0x14]
  2935. 00001D28  2D50 FFEE                move.l     [A6 - 0x12], [A0]
  2936. 00001D2C  202E FFEE                move.l     D0, [A6 - 0x12]
  2937. 00001D30  D0BC 00FE 6018           add.l      D0, 0xFE6018
  2938. 00001D36  2D40 FFF2                move.l     [A6 - 0xE], D0
  2939. 00001D3A  286E FFEE                movea.l    A4, [A6 - 0x12]
  2940. 00001D3E  D9FC 00FE 701D           add.l      A4, 0xFE701D
  2941. 00001D44  598F                     subq.l     A7, 4
  2942. 00001D46  206E 0010                movea.l    A0, [A6 + 0x10]
  2943. 00001D4A  2F08                     move.l     -[A7], A0
  2944. 00001D4C  4EBA 4222                jsr        [PC + 0x4222 /* 00005F70 */]
  2945. 00001D50  265F                     movea.l    A3, [A7]+
  2946. 00001D52  598F                     subq.l     A7, 4
  2947. 00001D54  206E 0014                movea.l    A0, [A6 + 0x14]
  2948. 00001D58  4868 0046                pea.l      [A0 + 0x46]
  2949. 00001D5C  4EBA 4212                jsr        [PC + 0x4212 /* 00005F70 */]
  2950. 00001D60  2D5F FFF6                move.l     [A6 - 0xA], [A7]+
  2951. 00001D64  1D7C 0001 FFFF           move.b     [A6 - 0x1], 0x1
  2952. 00001D6A  43EE FFFF                lea.l      A1, [A6 - 0x1]
  2953. 00001D6E  2049                     movea.l    A0, A1
  2954. 00001D70  1010                     move.b     D0, [A0]
  2955. 00001D72  A05D                     syscall    SwapMMUMode
  2956. 00001D74  1080                     move.b     [A0], D0
  2957. 00001D76  206E FFF2                movea.l    A0, [A6 - 0xE]
  2958. 00001D7A  2D50 FFFA                move.l     [A6 - 0x6], [A0]
  2959. 00001D7E  206E FFF2                movea.l    A0, [A6 - 0xE]
  2960. 00001D82  7003                     moveq.l    D0, 0x03
  2961. 00001D84  2080                     move.l     [A0], D0
  2962. 00001D86  7A00                     moveq.l    D5, 0x00
  2963. 00001D88  1A14                     move.b     D5, [A4]
  2964. 00001D8A  4A85                     tst.l      D5
  2965. 00001D8C  722F                     moveq.l    D1, 0x2F
  2966. 00001D8E  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  2967. 00001D92  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  2968. 00001D9A  3801                     move.w     D4, D1
  2969. 00001D9C  7228                     moveq.l    D1, 0x28
  2970. 00001D9E  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  2971. 00001DA2  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  2972. 00001DAA  3D41 FFE4                move.w     [A6 - 0x1C], D1
  2973. 00001DAE  3D7C 0BB8 FFEC           move.w     [A6 - 0x14], 0xBB8
  2974. 00001DB4  7600                     moveq.l    D3, 0x00
  2975. label00001DB6:
  2976. 00001DB6  7000                     moveq.l    D0, 0x00
  2977. 00001DB8  1014                     move.b     D0, [A4]
  2978. 00001DBA  4A80                     tst.l      D0
  2979. 00001DBC  7202                     moveq.l    D1, 0x02
  2980. 00001DBE  C200                     and.b      D1, D0
  2981. 00001DC0  7000                     moveq.l    D0, 0x00
  2982. 00001DC2  1001                     move.b     D0, D1
  2983. 00001DC4  4A80                     tst.l      D0
  2984. 00001DC6  0C40 0002                cmpi.w     D0, 0x2
  2985. 00001DCA  6618                     bne        +0x1A /* 00001DE4 */
  2986. 00001DCC  7000                     moveq.l    D0, 0x00
  2987. 00001DCE  1014                     move.b     D0, [A4]
  2988. 00001DD0  4A80                     tst.l      D0
  2989. 00001DD2  7201                     moveq.l    D1, 0x01
  2990. 00001DD4  C200                     and.b      D1, D0
  2991. 00001DD6  7000                     moveq.l    D0, 0x00
  2992. 00001DD8  1001                     move.b     D0, D1
  2993. 00001DDA  4A80                     tst.l      D0
  2994. 00001DDC  0C40 0001                cmpi.w     D0, 0x1
  2995. 00001DE0  6700 0096                beq        +0x98 /* 00001E78 */
  2996. label00001DE4:
  2997. 00001DE4  0245 FFFD                andi.w     D5, 0xFFFD
  2998. 00001DE8  3C3C 0BB8                move.w     D6, 0xBB8
  2999. label00001DEC:
  3000. 00001DEC  7000                     moveq.l    D0, 0x00
  3001. 00001DEE  1014                     move.b     D0, [A4]
  3002. 00001DF0  4A80                     tst.l      D0
  3003. 00001DF2  7202                     moveq.l    D1, 0x02
  3004. 00001DF4  C200                     and.b      D1, D0
  3005. 00001DF6  7000                     moveq.l    D0, 0x00
  3006. 00001DF8  1001                     move.b     D0, D1
  3007. 00001DFA  4A80                     tst.l      D0
  3008. 00001DFC  7202                     moveq.l    D1, 0x02
  3009. 00001DFE  C245                     and.w      D1, D5
  3010. 00001E00  7400                     moveq.l    D2, 0x00
  3011. 00001E02  3401                     move.w     D2, D1
  3012. 00001E04  4A82                     tst.l      D2
  3013. 00001E06  B480                     cmp.l      D2, D0
  3014. 00001E08  670E                     beq        +0x10 /* 00001E18 */
  3015. 00001E0A  1885                     move.b     [A4], D5
  3016. 00001E0C  6002                     bra        +0x4 /* 00001E10 */
  3017. 00001E0E  6008                     bra        +0xA /* 00001E18 */
  3018. label00001E10:
  3019. 00001E10  3006                     move.w     D0, D6
  3020. 00001E12  5346                     subq.w     D6, 1
  3021. 00001E14  B646                     cmp.w      D3, D6
  3022. 00001E16  6DD4                     blt        -0x2A /* 00001DEC */
  3023. label00001E18:
  3024. 00001E18  0885 0000                bclr.b     D5, 0x0
  3025. 00001E1C  1885                     move.b     [A4], D5
  3026. 00001E1E  0045 0002                ori.w      D5, 0x2
  3027. 00001E22  3C3C 0BB8                move.w     D6, 0xBB8
  3028. label00001E26:
  3029. 00001E26  7000                     moveq.l    D0, 0x00
  3030. 00001E28  1014                     move.b     D0, [A4]
  3031. 00001E2A  4A80                     tst.l      D0
  3032. 00001E2C  7202                     moveq.l    D1, 0x02
  3033. 00001E2E  C200                     and.b      D1, D0
  3034. 00001E30  7000                     moveq.l    D0, 0x00
  3035. 00001E32  1001                     move.b     D0, D1
  3036. 00001E34  4A80                     tst.l      D0
  3037. 00001E36  7202                     moveq.l    D1, 0x02
  3038. 00001E38  C245                     and.w      D1, D5
  3039. 00001E3A  7400                     moveq.l    D2, 0x00
  3040. 00001E3C  3401                     move.w     D2, D1
  3041. 00001E3E  4A82                     tst.l      D2
  3042. 00001E40  B480                     cmp.l      D2, D0
  3043. 00001E42  670E                     beq        +0x10 /* 00001E52 */
  3044. 00001E44  1885                     move.b     [A4], D5
  3045. 00001E46  6002                     bra        +0x4 /* 00001E4A */
  3046. 00001E48  6008                     bra        +0xA /* 00001E52 */
  3047. label00001E4A:
  3048. 00001E4A  3006                     move.w     D0, D6
  3049. 00001E4C  5346                     subq.w     D6, 1
  3050. 00001E4E  B646                     cmp.w      D3, D6
  3051. 00001E50  6DD4                     blt        -0x2A /* 00001E26 */
  3052. label00001E52:
  3053. 00001E52  3E04                     move.w     D7, D4
  3054. 00001E54  5347                     subq.w     D7, 1
  3055. 00001E56  4A47                     tst.w      D7
  3056. 00001E58  6D04                     blt        +0x6 /* 00001E5E */
  3057. label00001E5A:
  3058. 00001E5A  51CF FFFE                dbf        D7, -0x4 /* 00001E5A */
  3059. label00001E5E:
  3060. 00001E5E  0045 0001                ori.w      D5, 0x1
  3061. 00001E62  1885                     move.b     [A4], D5
  3062. 00001E64  6002                     bra        +0x4 /* 00001E68 */
  3063. 00001E66  6010                     bra        +0x12 /* 00001E78 */
  3064. label00001E68:
  3065. 00001E68  302E FFEC                move.w     D0, [A6 - 0x14]
  3066. 00001E6C  536E FFEC                subq.w     [A6 - 0x14], 1
  3067. 00001E70  B66E FFEC                cmp.w      D3, [A6 - 0x14]
  3068. 00001E74  6D00 FF40                blt        -0xBE /* 00001DB6 */
  3069. label00001E78:
  3070. 00001E78  4A6E FFEC                tst.w      [A6 - 0x14]
  3071. 00001E7C  661C                     bne        +0x1E /* 00001E9A */
  3072. 00001E7E  206E FFF2                movea.l    A0, [A6 - 0xE]
  3073. 00001E82  20AE FFFA                move.l     [A0], [A6 - 0x6]
  3074. 00001E86  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3075. 00001E8A  2049                     movea.l    A0, A1
  3076. 00001E8C  1010                     move.b     D0, [A0]
  3077. 00001E8E  A05D                     syscall    SwapMMUMode
  3078. 00001E90  1080                     move.b     [A0], D0
  3079. 00001E92  303C E08E                move.w     D0, 0xE08E
  3080. 00001E96  6000 0620                bra        +0x622 /* 000024B8 */
  3081. label00001E9A:
  3082. 00001E9A  3E04                     move.w     D7, D4
  3083. 00001E9C  5347                     subq.w     D7, 1
  3084. 00001E9E  4A47                     tst.w      D7
  3085. 00001EA0  6D04                     blt        +0x6 /* 00001EA6 */
  3086. label00001EA2:
  3087. 00001EA2  51CF FFFE                dbf        D7, -0x4 /* 00001EA2 */
  3088. label00001EA6:
  3089. 00001EA6  0885 0000                bclr.b     D5, 0x0
  3090. 00001EAA  1885                     move.b     [A4], D5
  3091. 00001EAC  3E04                     move.w     D7, D4
  3092. 00001EAE  5347                     subq.w     D7, 1
  3093. 00001EB0  4A47                     tst.w      D7
  3094. 00001EB2  6D04                     blt        +0x6 /* 00001EB8 */
  3095. label00001EB4:
  3096. 00001EB4  51CF FFFE                dbf        D7, -0x4 /* 00001EB4 */
  3097. label00001EB8:
  3098. 00001EB8  303C 00FE                move.w     D0, 0xFE
  3099. 00001EBC  C06E 000A                and.w      D0, [A6 + 0xA]
  3100. 00001EC0  3D40 FFE8                move.w     [A6 - 0x18], D0
  3101. 00001EC4  3D7C 0007 FFEA           move.w     [A6 - 0x16], 0x7
  3102. 00001ECA  7600                     moveq.l    D3, 0x00
  3103. label00001ECC:
  3104. 00001ECC  0245 FFFD                andi.w     D5, 0xFFFD
  3105. 00001ED0  3C3C 0BB8                move.w     D6, 0xBB8
  3106. label00001ED4:
  3107. 00001ED4  7000                     moveq.l    D0, 0x00
  3108. 00001ED6  1014                     move.b     D0, [A4]
  3109. 00001ED8  4A80                     tst.l      D0
  3110. 00001EDA  7202                     moveq.l    D1, 0x02
  3111. 00001EDC  C200                     and.b      D1, D0
  3112. 00001EDE  7000                     moveq.l    D0, 0x00
  3113. 00001EE0  1001                     move.b     D0, D1
  3114. 00001EE2  4A80                     tst.l      D0
  3115. 00001EE4  7202                     moveq.l    D1, 0x02
  3116. 00001EE6  C245                     and.w      D1, D5
  3117. 00001EE8  7400                     moveq.l    D2, 0x00
  3118. 00001EEA  3401                     move.w     D2, D1
  3119. 00001EEC  4A82                     tst.l      D2
  3120. 00001EEE  B480                     cmp.l      D2, D0
  3121. 00001EF0  670E                     beq        +0x10 /* 00001F00 */
  3122. 00001EF2  1885                     move.b     [A4], D5
  3123. 00001EF4  6002                     bra        +0x4 /* 00001EF8 */
  3124. 00001EF6  6008                     bra        +0xA /* 00001F00 */
  3125. label00001EF8:
  3126. 00001EF8  3006                     move.w     D0, D6
  3127. 00001EFA  5346                     subq.w     D6, 1
  3128. 00001EFC  B646                     cmp.w      D3, D6
  3129. 00001EFE  6DD4                     blt        -0x2A /* 00001ED4 */
  3130. label00001F00:
  3131. 00001F00  302E FFEA                move.w     D0, [A6 - 0x16]
  3132. 00001F04  322E FFE8                move.w     D1, [A6 - 0x18]
  3133. 00001F08  E061                     asr        D1.w, D0
  3134. 00001F0A  0801 0000                btst.b     D1, 0x0
  3135. 00001F0E  6706                     beq        +0x8 /* 00001F16 */
  3136. 00001F10  0045 0001                ori.w      D5, 0x1
  3137. 00001F14  6004                     bra        +0x6 /* 00001F1A */
  3138. label00001F16:
  3139. 00001F16  0885 0000                bclr.b     D5, 0x0
  3140. label00001F1A:
  3141. 00001F1A  1885                     move.b     [A4], D5
  3142. 00001F1C  3E04                     move.w     D7, D4
  3143. 00001F1E  5347                     subq.w     D7, 1
  3144. 00001F20  4A47                     tst.w      D7
  3145. 00001F22  6D04                     blt        +0x6 /* 00001F28 */
  3146. label00001F24:
  3147. 00001F24  51CF FFFE                dbf        D7, -0x4 /* 00001F24 */
  3148. label00001F28:
  3149. 00001F28  0045 0002                ori.w      D5, 0x2
  3150. 00001F2C  3C3C 0BB8                move.w     D6, 0xBB8
  3151. label00001F30:
  3152. 00001F30  7000                     moveq.l    D0, 0x00
  3153. 00001F32  1014                     move.b     D0, [A4]
  3154. 00001F34  4A80                     tst.l      D0
  3155. 00001F36  7202                     moveq.l    D1, 0x02
  3156. 00001F38  C200                     and.b      D1, D0
  3157. 00001F3A  7000                     moveq.l    D0, 0x00
  3158. 00001F3C  1001                     move.b     D0, D1
  3159. 00001F3E  4A80                     tst.l      D0
  3160. 00001F40  7202                     moveq.l    D1, 0x02
  3161. 00001F42  C245                     and.w      D1, D5
  3162. 00001F44  7400                     moveq.l    D2, 0x00
  3163. 00001F46  3401                     move.w     D2, D1
  3164. 00001F48  4A82                     tst.l      D2
  3165. 00001F4A  B480                     cmp.l      D2, D0
  3166. 00001F4C  670E                     beq        +0x10 /* 00001F5C */
  3167. 00001F4E  1885                     move.b     [A4], D5
  3168. 00001F50  6002                     bra        +0x4 /* 00001F54 */
  3169. 00001F52  6008                     bra        +0xA /* 00001F5C */
  3170. label00001F54:
  3171. 00001F54  3006                     move.w     D0, D6
  3172. 00001F56  5346                     subq.w     D6, 1
  3173. 00001F58  B646                     cmp.w      D3, D6
  3174. 00001F5A  6DD4                     blt        -0x2A /* 00001F30 */
  3175. label00001F5C:
  3176. 00001F5C  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3177. 00001F60  5347                     subq.w     D7, 1
  3178. 00001F62  4A47                     tst.w      D7
  3179. 00001F64  6D04                     blt        +0x6 /* 00001F6A */
  3180. label00001F66:
  3181. 00001F66  51CF FFFE                dbf        D7, -0x4 /* 00001F66 */
  3182. label00001F6A:
  3183. 00001F6A  302E FFEA                move.w     D0, [A6 - 0x16]
  3184. 00001F6E  536E FFEA                subq.w     [A6 - 0x16], 1
  3185. 00001F72  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  3186. 00001F76  6F00 FF54                ble        -0xAA /* 00001ECC */
  3187. 00001F7A  0245 FFFD                andi.w     D5, 0xFFFD
  3188. 00001F7E  3C3C 0BB8                move.w     D6, 0xBB8
  3189. 00001F82  7600                     moveq.l    D3, 0x00
  3190. label00001F84:
  3191. 00001F84  7000                     moveq.l    D0, 0x00
  3192. 00001F86  1014                     move.b     D0, [A4]
  3193. 00001F88  4A80                     tst.l      D0
  3194. 00001F8A  7202                     moveq.l    D1, 0x02
  3195. 00001F8C  C200                     and.b      D1, D0
  3196. 00001F8E  7000                     moveq.l    D0, 0x00
  3197. 00001F90  1001                     move.b     D0, D1
  3198. 00001F92  4A80                     tst.l      D0
  3199. 00001F94  7202                     moveq.l    D1, 0x02
  3200. 00001F96  C245                     and.w      D1, D5
  3201. 00001F98  7400                     moveq.l    D2, 0x00
  3202. 00001F9A  3401                     move.w     D2, D1
  3203. 00001F9C  4A82                     tst.l      D2
  3204. 00001F9E  B480                     cmp.l      D2, D0
  3205. 00001FA0  670E                     beq        +0x10 /* 00001FB0 */
  3206. 00001FA2  1885                     move.b     [A4], D5
  3207. 00001FA4  6002                     bra        +0x4 /* 00001FA8 */
  3208. 00001FA6  6008                     bra        +0xA /* 00001FB0 */
  3209. label00001FA8:
  3210. 00001FA8  3006                     move.w     D0, D6
  3211. 00001FAA  5346                     subq.w     D6, 1
  3212. 00001FAC  B646                     cmp.w      D3, D6
  3213. 00001FAE  6DD4                     blt        -0x2A /* 00001F84 */
  3214. label00001FB0:
  3215. 00001FB0  0045 0001                ori.w      D5, 0x1
  3216. 00001FB4  1885                     move.b     [A4], D5
  3217. 00001FB6  3D7C 0BB8 FFE6           move.w     [A6 - 0x1A], 0xBB8
  3218. 00001FBC  7600                     moveq.l    D3, 0x00
  3219. label00001FBE:
  3220. 00001FBE  3E04                     move.w     D7, D4
  3221. 00001FC0  5347                     subq.w     D7, 1
  3222. 00001FC2  4A47                     tst.w      D7
  3223. 00001FC4  6D04                     blt        +0x6 /* 00001FCA */
  3224. label00001FC6:
  3225. 00001FC6  51CF FFFE                dbf        D7, -0x4 /* 00001FC6 */
  3226. label00001FCA:
  3227. 00001FCA  7000                     moveq.l    D0, 0x00
  3228. 00001FCC  1014                     move.b     D0, [A4]
  3229. 00001FCE  4A80                     tst.l      D0
  3230. 00001FD0  7201                     moveq.l    D1, 0x01
  3231. 00001FD2  C200                     and.b      D1, D0
  3232. 00001FD4  7000                     moveq.l    D0, 0x00
  3233. 00001FD6  1001                     move.b     D0, D1
  3234. 00001FD8  4A80                     tst.l      D0
  3235. 00001FDA  670E                     beq        +0x10 /* 00001FEA */
  3236. 00001FDC  302E FFE6                move.w     D0, [A6 - 0x1A]
  3237. 00001FE0  536E FFE6                subq.w     [A6 - 0x1A], 1
  3238. 00001FE4  B66E FFE6                cmp.w      D3, [A6 - 0x1A]
  3239. 00001FE8  6DD4                     blt        -0x2A /* 00001FBE */
  3240. label00001FEA:
  3241. 00001FEA  4A6E FFE6                tst.w      [A6 - 0x1A]
  3242. 00001FEE  6652                     bne        +0x54 /* 00002042 */
  3243. 00001FF0  0045 0002                ori.w      D5, 0x2
  3244. 00001FF4  3C3C 0BB8                move.w     D6, 0xBB8
  3245. 00001FF8  7600                     moveq.l    D3, 0x00
  3246. label00001FFA:
  3247. 00001FFA  7000                     moveq.l    D0, 0x00
  3248. 00001FFC  1014                     move.b     D0, [A4]
  3249. 00001FFE  4A80                     tst.l      D0
  3250. 00002000  7202                     moveq.l    D1, 0x02
  3251. 00002002  C200                     and.b      D1, D0
  3252. 00002004  7000                     moveq.l    D0, 0x00
  3253. 00002006  1001                     move.b     D0, D1
  3254. 00002008  4A80                     tst.l      D0
  3255. 0000200A  7202                     moveq.l    D1, 0x02
  3256. 0000200C  C245                     and.w      D1, D5
  3257. 0000200E  7400                     moveq.l    D2, 0x00
  3258. 00002010  3401                     move.w     D2, D1
  3259. 00002012  4A82                     tst.l      D2
  3260. 00002014  B480                     cmp.l      D2, D0
  3261. 00002016  670E                     beq        +0x10 /* 00002026 */
  3262. 00002018  1885                     move.b     [A4], D5
  3263. 0000201A  6002                     bra        +0x4 /* 0000201E */
  3264. 0000201C  6008                     bra        +0xA /* 00002026 */
  3265. label0000201E:
  3266. 0000201E  3006                     move.w     D0, D6
  3267. 00002020  5346                     subq.w     D6, 1
  3268. 00002022  B646                     cmp.w      D3, D6
  3269. 00002024  6DD4                     blt        -0x2A /* 00001FFA */
  3270. label00002026:
  3271. 00002026  206E FFF2                movea.l    A0, [A6 - 0xE]
  3272. 0000202A  20AE FFFA                move.l     [A0], [A6 - 0x6]
  3273. 0000202E  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3274. 00002032  2049                     movea.l    A0, A1
  3275. 00002034  1010                     move.b     D0, [A0]
  3276. 00002036  A05D                     syscall    SwapMMUMode
  3277. 00002038  1080                     move.b     [A0], D0
  3278. 0000203A  303C E08E                move.w     D0, 0xE08E
  3279. 0000203E  6000 0478                bra        +0x47A /* 000024B8 */
  3280. label00002042:
  3281. 00002042  0045 0002                ori.w      D5, 0x2
  3282. 00002046  3C3C 0BB8                move.w     D6, 0xBB8
  3283. 0000204A  7600                     moveq.l    D3, 0x00
  3284. label0000204C:
  3285. 0000204C  7000                     moveq.l    D0, 0x00
  3286. 0000204E  1014                     move.b     D0, [A4]
  3287. 00002050  4A80                     tst.l      D0
  3288. 00002052  7202                     moveq.l    D1, 0x02
  3289. 00002054  C200                     and.b      D1, D0
  3290. 00002056  7000                     moveq.l    D0, 0x00
  3291. 00002058  1001                     move.b     D0, D1
  3292. 0000205A  4A80                     tst.l      D0
  3293. 0000205C  7202                     moveq.l    D1, 0x02
  3294. 0000205E  C245                     and.w      D1, D5
  3295. 00002060  7400                     moveq.l    D2, 0x00
  3296. 00002062  3401                     move.w     D2, D1
  3297. 00002064  4A82                     tst.l      D2
  3298. 00002066  B480                     cmp.l      D2, D0
  3299. 00002068  670E                     beq        +0x10 /* 00002078 */
  3300. 0000206A  1885                     move.b     [A4], D5
  3301. 0000206C  6002                     bra        +0x4 /* 00002070 */
  3302. 0000206E  6008                     bra        +0xA /* 00002078 */
  3303. label00002070:
  3304. 00002070  3006                     move.w     D0, D6
  3305. 00002072  5346                     subq.w     D6, 1
  3306. 00002074  B646                     cmp.w      D3, D6
  3307. 00002076  6DD4                     blt        -0x2A /* 0000204C */
  3308. label00002078:
  3309. 00002078  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3310. 0000207C  5347                     subq.w     D7, 1
  3311. 0000207E  4A47                     tst.w      D7
  3312. 00002080  6D04                     blt        +0x6 /* 00002086 */
  3313. label00002082:
  3314. 00002082  51CF FFFE                dbf        D7, -0x4 /* 00002082 */
  3315. label00002086:
  3316. 00002086  3D6E 000E FFE8           move.w     [A6 - 0x18], [A6 + 0xE]
  3317. 0000208C  3D7C 0007 FFEA           move.w     [A6 - 0x16], 0x7
  3318. 00002092  7600                     moveq.l    D3, 0x00
  3319. label00002094:
  3320. 00002094  0245 FFFD                andi.w     D5, 0xFFFD
  3321. 00002098  3C3C 0BB8                move.w     D6, 0xBB8
  3322. label0000209C:
  3323. 0000209C  7000                     moveq.l    D0, 0x00
  3324. 0000209E  1014                     move.b     D0, [A4]
  3325. 000020A0  4A80                     tst.l      D0
  3326. 000020A2  7202                     moveq.l    D1, 0x02
  3327. 000020A4  C200                     and.b      D1, D0
  3328. 000020A6  7000                     moveq.l    D0, 0x00
  3329. 000020A8  1001                     move.b     D0, D1
  3330. 000020AA  4A80                     tst.l      D0
  3331. 000020AC  7202                     moveq.l    D1, 0x02
  3332. 000020AE  C245                     and.w      D1, D5
  3333. 000020B0  7400                     moveq.l    D2, 0x00
  3334. 000020B2  3401                     move.w     D2, D1
  3335. 000020B4  4A82                     tst.l      D2
  3336. 000020B6  B480                     cmp.l      D2, D0
  3337. 000020B8  670E                     beq        +0x10 /* 000020C8 */
  3338. 000020BA  1885                     move.b     [A4], D5
  3339. 000020BC  6002                     bra        +0x4 /* 000020C0 */
  3340. 000020BE  6008                     bra        +0xA /* 000020C8 */
  3341. label000020C0:
  3342. 000020C0  3006                     move.w     D0, D6
  3343. 000020C2  5346                     subq.w     D6, 1
  3344. 000020C4  B646                     cmp.w      D3, D6
  3345. 000020C6  6DD4                     blt        -0x2A /* 0000209C */
  3346. label000020C8:
  3347. 000020C8  302E FFEA                move.w     D0, [A6 - 0x16]
  3348. 000020CC  322E FFE8                move.w     D1, [A6 - 0x18]
  3349. 000020D0  E061                     asr        D1.w, D0
  3350. 000020D2  0801 0000                btst.b     D1, 0x0
  3351. 000020D6  6706                     beq        +0x8 /* 000020DE */
  3352. 000020D8  0045 0001                ori.w      D5, 0x1
  3353. 000020DC  6004                     bra        +0x6 /* 000020E2 */
  3354. label000020DE:
  3355. 000020DE  0885 0000                bclr.b     D5, 0x0
  3356. label000020E2:
  3357. 000020E2  1885                     move.b     [A4], D5
  3358. 000020E4  3E04                     move.w     D7, D4
  3359. 000020E6  5347                     subq.w     D7, 1
  3360. 000020E8  4A47                     tst.w      D7
  3361. 000020EA  6D04                     blt        +0x6 /* 000020F0 */
  3362. label000020EC:
  3363. 000020EC  51CF FFFE                dbf        D7, -0x4 /* 000020EC */
  3364. label000020F0:
  3365. 000020F0  0045 0002                ori.w      D5, 0x2
  3366. 000020F4  3C3C 0BB8                move.w     D6, 0xBB8
  3367. label000020F8:
  3368. 000020F8  7000                     moveq.l    D0, 0x00
  3369. 000020FA  1014                     move.b     D0, [A4]
  3370. 000020FC  4A80                     tst.l      D0
  3371. 000020FE  7202                     moveq.l    D1, 0x02
  3372. 00002100  C200                     and.b      D1, D0
  3373. 00002102  7000                     moveq.l    D0, 0x00
  3374. 00002104  1001                     move.b     D0, D1
  3375. 00002106  4A80                     tst.l      D0
  3376. 00002108  7202                     moveq.l    D1, 0x02
  3377. 0000210A  C245                     and.w      D1, D5
  3378. 0000210C  7400                     moveq.l    D2, 0x00
  3379. 0000210E  3401                     move.w     D2, D1
  3380. 00002110  4A82                     tst.l      D2
  3381. 00002112  B480                     cmp.l      D2, D0
  3382. 00002114  670E                     beq        +0x10 /* 00002124 */
  3383. 00002116  1885                     move.b     [A4], D5
  3384. 00002118  6002                     bra        +0x4 /* 0000211C */
  3385. 0000211A  6008                     bra        +0xA /* 00002124 */
  3386. label0000211C:
  3387. 0000211C  3006                     move.w     D0, D6
  3388. 0000211E  5346                     subq.w     D6, 1
  3389. 00002120  B646                     cmp.w      D3, D6
  3390. 00002122  6DD4                     blt        -0x2A /* 000020F8 */
  3391. label00002124:
  3392. 00002124  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3393. 00002128  5347                     subq.w     D7, 1
  3394. 0000212A  4A47                     tst.w      D7
  3395. 0000212C  6D04                     blt        +0x6 /* 00002132 */
  3396. label0000212E:
  3397. 0000212E  51CF FFFE                dbf        D7, -0x4 /* 0000212E */
  3398. label00002132:
  3399. 00002132  302E FFEA                move.w     D0, [A6 - 0x16]
  3400. 00002136  536E FFEA                subq.w     [A6 - 0x16], 1
  3401. 0000213A  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  3402. 0000213E  6F00 FF54                ble        -0xAA /* 00002094 */
  3403. 00002142  0245 FFFD                andi.w     D5, 0xFFFD
  3404. 00002146  3C3C 0BB8                move.w     D6, 0xBB8
  3405. 0000214A  7600                     moveq.l    D3, 0x00
  3406. label0000214C:
  3407. 0000214C  7000                     moveq.l    D0, 0x00
  3408. 0000214E  1014                     move.b     D0, [A4]
  3409. 00002150  4A80                     tst.l      D0
  3410. 00002152  7202                     moveq.l    D1, 0x02
  3411. 00002154  C200                     and.b      D1, D0
  3412. 00002156  7000                     moveq.l    D0, 0x00
  3413. 00002158  1001                     move.b     D0, D1
  3414. 0000215A  4A80                     tst.l      D0
  3415. 0000215C  7202                     moveq.l    D1, 0x02
  3416. 0000215E  C245                     and.w      D1, D5
  3417. 00002160  7400                     moveq.l    D2, 0x00
  3418. 00002162  3401                     move.w     D2, D1
  3419. 00002164  4A82                     tst.l      D2
  3420. 00002166  B480                     cmp.l      D2, D0
  3421. 00002168  670E                     beq        +0x10 /* 00002178 */
  3422. 0000216A  1885                     move.b     [A4], D5
  3423. 0000216C  6002                     bra        +0x4 /* 00002170 */
  3424. 0000216E  6008                     bra        +0xA /* 00002178 */
  3425. label00002170:
  3426. 00002170  3006                     move.w     D0, D6
  3427. 00002172  5346                     subq.w     D6, 1
  3428. 00002174  B646                     cmp.w      D3, D6
  3429. 00002176  6DD4                     blt        -0x2A /* 0000214C */
  3430. label00002178:
  3431. 00002178  0045 0001                ori.w      D5, 0x1
  3432. 0000217C  1885                     move.b     [A4], D5
  3433. 0000217E  3D7C 0BB8 FFE6           move.w     [A6 - 0x1A], 0xBB8
  3434. 00002184  7600                     moveq.l    D3, 0x00
  3435. label00002186:
  3436. 00002186  3E04                     move.w     D7, D4
  3437. 00002188  5347                     subq.w     D7, 1
  3438. 0000218A  4A47                     tst.w      D7
  3439. 0000218C  6D04                     blt        +0x6 /* 00002192 */
  3440. label0000218E:
  3441. 0000218E  51CF FFFE                dbf        D7, -0x4 /* 0000218E */
  3442. label00002192:
  3443. 00002192  7000                     moveq.l    D0, 0x00
  3444. 00002194  1014                     move.b     D0, [A4]
  3445. 00002196  4A80                     tst.l      D0
  3446. 00002198  7201                     moveq.l    D1, 0x01
  3447. 0000219A  C200                     and.b      D1, D0
  3448. 0000219C  7000                     moveq.l    D0, 0x00
  3449. 0000219E  1001                     move.b     D0, D1
  3450. 000021A0  4A80                     tst.l      D0
  3451. 000021A2  670E                     beq        +0x10 /* 000021B2 */
  3452. 000021A4  302E FFE6                move.w     D0, [A6 - 0x1A]
  3453. 000021A8  536E FFE6                subq.w     [A6 - 0x1A], 1
  3454. 000021AC  B66E FFE6                cmp.w      D3, [A6 - 0x1A]
  3455. 000021B0  6DD4                     blt        -0x2A /* 00002186 */
  3456. label000021B2:
  3457. 000021B2  4A6E FFE6                tst.w      [A6 - 0x1A]
  3458. 000021B6  6652                     bne        +0x54 /* 0000220A */
  3459. 000021B8  0045 0002                ori.w      D5, 0x2
  3460. 000021BC  3C3C 0BB8                move.w     D6, 0xBB8
  3461. 000021C0  7600                     moveq.l    D3, 0x00
  3462. label000021C2:
  3463. 000021C2  7000                     moveq.l    D0, 0x00
  3464. 000021C4  1014                     move.b     D0, [A4]
  3465. 000021C6  4A80                     tst.l      D0
  3466. 000021C8  7202                     moveq.l    D1, 0x02
  3467. 000021CA  C200                     and.b      D1, D0
  3468. 000021CC  7000                     moveq.l    D0, 0x00
  3469. 000021CE  1001                     move.b     D0, D1
  3470. 000021D0  4A80                     tst.l      D0
  3471. 000021D2  7202                     moveq.l    D1, 0x02
  3472. 000021D4  C245                     and.w      D1, D5
  3473. 000021D6  7400                     moveq.l    D2, 0x00
  3474. 000021D8  3401                     move.w     D2, D1
  3475. 000021DA  4A82                     tst.l      D2
  3476. 000021DC  B480                     cmp.l      D2, D0
  3477. 000021DE  670E                     beq        +0x10 /* 000021EE */
  3478. 000021E0  1885                     move.b     [A4], D5
  3479. 000021E2  6002                     bra        +0x4 /* 000021E6 */
  3480. 000021E4  6008                     bra        +0xA /* 000021EE */
  3481. label000021E6:
  3482. 000021E6  3006                     move.w     D0, D6
  3483. 000021E8  5346                     subq.w     D6, 1
  3484. 000021EA  B646                     cmp.w      D3, D6
  3485. 000021EC  6DD4                     blt        -0x2A /* 000021C2 */
  3486. label000021EE:
  3487. 000021EE  206E FFF2                movea.l    A0, [A6 - 0xE]
  3488. 000021F2  20AE FFFA                move.l     [A0], [A6 - 0x6]
  3489. 000021F6  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3490. 000021FA  2049                     movea.l    A0, A1
  3491. 000021FC  1010                     move.b     D0, [A0]
  3492. 000021FE  A05D                     syscall    SwapMMUMode
  3493. 00002200  1080                     move.b     [A0], D0
  3494. 00002202  303C E08E                move.w     D0, 0xE08E
  3495. 00002206  6000 02B0                bra        +0x2B2 /* 000024B8 */
  3496. label0000220A:
  3497. 0000220A  0045 0002                ori.w      D5, 0x2
  3498. 0000220E  3C3C 0BB8                move.w     D6, 0xBB8
  3499. 00002212  7600                     moveq.l    D3, 0x00
  3500. label00002214:
  3501. 00002214  7000                     moveq.l    D0, 0x00
  3502. 00002216  1014                     move.b     D0, [A4]
  3503. 00002218  4A80                     tst.l      D0
  3504. 0000221A  7202                     moveq.l    D1, 0x02
  3505. 0000221C  C200                     and.b      D1, D0
  3506. 0000221E  7000                     moveq.l    D0, 0x00
  3507. 00002220  1001                     move.b     D0, D1
  3508. 00002222  4A80                     tst.l      D0
  3509. 00002224  7202                     moveq.l    D1, 0x02
  3510. 00002226  C245                     and.w      D1, D5
  3511. 00002228  7400                     moveq.l    D2, 0x00
  3512. 0000222A  3401                     move.w     D2, D1
  3513. 0000222C  4A82                     tst.l      D2
  3514. 0000222E  B480                     cmp.l      D2, D0
  3515. 00002230  670E                     beq        +0x10 /* 00002240 */
  3516. 00002232  1885                     move.b     [A4], D5
  3517. 00002234  6002                     bra        +0x4 /* 00002238 */
  3518. 00002236  6008                     bra        +0xA /* 00002240 */
  3519. label00002238:
  3520. 00002238  3006                     move.w     D0, D6
  3521. 0000223A  5346                     subq.w     D6, 1
  3522. 0000223C  B646                     cmp.w      D3, D6
  3523. 0000223E  6DD4                     blt        -0x2A /* 00002214 */
  3524. label00002240:
  3525. 00002240  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3526. 00002244  5347                     subq.w     D7, 1
  3527. 00002246  4A47                     tst.w      D7
  3528. 00002248  6D04                     blt        +0x6 /* 0000224E */
  3529. label0000224A:
  3530. 0000224A  51CF FFFE                dbf        D7, -0x4 /* 0000224A */
  3531. label0000224E:
  3532. 0000224E  426E FFEC                clr.w      [A6 - 0x14]
  3533. label00002252:
  3534. 00002252  302E FFEC                move.w     D0, [A6 - 0x14]
  3535. 00002256  7200                     moveq.l    D1, 0x00
  3536. 00002258  1233 0000                move.b     D1, [A3 + D0.w]
  3537. 0000225C  4A81                     tst.l      D1
  3538. 0000225E  3D41 FFE8                move.w     [A6 - 0x18], D1
  3539. 00002262  3D7C 0007 FFEA           move.w     [A6 - 0x16], 0x7
  3540. 00002268  7400                     moveq.l    D2, 0x00
  3541. label0000226A:
  3542. 0000226A  0245 FFFD                andi.w     D5, 0xFFFD
  3543. 0000226E  3C3C 0BB8                move.w     D6, 0xBB8
  3544. label00002272:
  3545. 00002272  7000                     moveq.l    D0, 0x00
  3546. 00002274  1014                     move.b     D0, [A4]
  3547. 00002276  4A80                     tst.l      D0
  3548. 00002278  7202                     moveq.l    D1, 0x02
  3549. 0000227A  C200                     and.b      D1, D0
  3550. 0000227C  7000                     moveq.l    D0, 0x00
  3551. 0000227E  1001                     move.b     D0, D1
  3552. 00002280  4A80                     tst.l      D0
  3553. 00002282  7202                     moveq.l    D1, 0x02
  3554. 00002284  C245                     and.w      D1, D5
  3555. 00002286  7600                     moveq.l    D3, 0x00
  3556. 00002288  3601                     move.w     D3, D1
  3557. 0000228A  4A83                     tst.l      D3
  3558. 0000228C  B680                     cmp.l      D3, D0
  3559. 0000228E  670E                     beq        +0x10 /* 0000229E */
  3560. 00002290  1885                     move.b     [A4], D5
  3561. 00002292  6002                     bra        +0x4 /* 00002296 */
  3562. 00002294  6008                     bra        +0xA /* 0000229E */
  3563. label00002296:
  3564. 00002296  3006                     move.w     D0, D6
  3565. 00002298  5346                     subq.w     D6, 1
  3566. 0000229A  B446                     cmp.w      D2, D6
  3567. 0000229C  6DD4                     blt        -0x2A /* 00002272 */
  3568. label0000229E:
  3569. 0000229E  302E FFEA                move.w     D0, [A6 - 0x16]
  3570. 000022A2  322E FFE8                move.w     D1, [A6 - 0x18]
  3571. 000022A6  E061                     asr        D1.w, D0
  3572. 000022A8  0801 0000                btst.b     D1, 0x0
  3573. 000022AC  6706                     beq        +0x8 /* 000022B4 */
  3574. 000022AE  0045 0001                ori.w      D5, 0x1
  3575. 000022B2  6004                     bra        +0x6 /* 000022B8 */
  3576. label000022B4:
  3577. 000022B4  0885 0000                bclr.b     D5, 0x0
  3578. label000022B8:
  3579. 000022B8  1885                     move.b     [A4], D5
  3580. 000022BA  3E04                     move.w     D7, D4
  3581. 000022BC  5347                     subq.w     D7, 1
  3582. 000022BE  4A47                     tst.w      D7
  3583. 000022C0  6D04                     blt        +0x6 /* 000022C6 */
  3584. label000022C2:
  3585. 000022C2  51CF FFFE                dbf        D7, -0x4 /* 000022C2 */
  3586. label000022C6:
  3587. 000022C6  0045 0002                ori.w      D5, 0x2
  3588. 000022CA  3C3C 0BB8                move.w     D6, 0xBB8
  3589. label000022CE:
  3590. 000022CE  7000                     moveq.l    D0, 0x00
  3591. 000022D0  1014                     move.b     D0, [A4]
  3592. 000022D2  4A80                     tst.l      D0
  3593. 000022D4  7202                     moveq.l    D1, 0x02
  3594. 000022D6  C200                     and.b      D1, D0
  3595. 000022D8  7000                     moveq.l    D0, 0x00
  3596. 000022DA  1001                     move.b     D0, D1
  3597. 000022DC  4A80                     tst.l      D0
  3598. 000022DE  7202                     moveq.l    D1, 0x02
  3599. 000022E0  C245                     and.w      D1, D5
  3600. 000022E2  7600                     moveq.l    D3, 0x00
  3601. 000022E4  3601                     move.w     D3, D1
  3602. 000022E6  4A83                     tst.l      D3
  3603. 000022E8  B680                     cmp.l      D3, D0
  3604. 000022EA  670E                     beq        +0x10 /* 000022FA */
  3605. 000022EC  1885                     move.b     [A4], D5
  3606. 000022EE  6002                     bra        +0x4 /* 000022F2 */
  3607. 000022F0  6008                     bra        +0xA /* 000022FA */
  3608. label000022F2:
  3609. 000022F2  3006                     move.w     D0, D6
  3610. 000022F4  5346                     subq.w     D6, 1
  3611. 000022F6  B446                     cmp.w      D2, D6
  3612. 000022F8  6DD4                     blt        -0x2A /* 000022CE */
  3613. label000022FA:
  3614. 000022FA  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3615. 000022FE  5347                     subq.w     D7, 1
  3616. 00002300  4A47                     tst.w      D7
  3617. 00002302  6D04                     blt        +0x6 /* 00002308 */
  3618. label00002304:
  3619. 00002304  51CF FFFE                dbf        D7, -0x4 /* 00002304 */
  3620. label00002308:
  3621. 00002308  302E FFEA                move.w     D0, [A6 - 0x16]
  3622. 0000230C  536E FFEA                subq.w     [A6 - 0x16], 1
  3623. 00002310  B46E FFEA                cmp.w      D2, [A6 - 0x16]
  3624. 00002314  6F00 FF54                ble        -0xAA /* 0000226A */
  3625. 00002318  0245 FFFD                andi.w     D5, 0xFFFD
  3626. 0000231C  3C3C 0BB8                move.w     D6, 0xBB8
  3627. 00002320  7600                     moveq.l    D3, 0x00
  3628. label00002322:
  3629. 00002322  7000                     moveq.l    D0, 0x00
  3630. 00002324  1014                     move.b     D0, [A4]
  3631. 00002326  4A80                     tst.l      D0
  3632. 00002328  7202                     moveq.l    D1, 0x02
  3633. 0000232A  C200                     and.b      D1, D0
  3634. 0000232C  7000                     moveq.l    D0, 0x00
  3635. 0000232E  1001                     move.b     D0, D1
  3636. 00002330  4A80                     tst.l      D0
  3637. 00002332  7202                     moveq.l    D1, 0x02
  3638. 00002334  C245                     and.w      D1, D5
  3639. 00002336  7400                     moveq.l    D2, 0x00
  3640. 00002338  3401                     move.w     D2, D1
  3641. 0000233A  4A82                     tst.l      D2
  3642. 0000233C  B480                     cmp.l      D2, D0
  3643. 0000233E  670E                     beq        +0x10 /* 0000234E */
  3644. 00002340  1885                     move.b     [A4], D5
  3645. 00002342  6002                     bra        +0x4 /* 00002346 */
  3646. 00002344  6008                     bra        +0xA /* 0000234E */
  3647. label00002346:
  3648. 00002346  3006                     move.w     D0, D6
  3649. 00002348  5346                     subq.w     D6, 1
  3650. 0000234A  B646                     cmp.w      D3, D6
  3651. 0000234C  6DD4                     blt        -0x2A /* 00002322 */
  3652. label0000234E:
  3653. 0000234E  0045 0001                ori.w      D5, 0x1
  3654. 00002352  1885                     move.b     [A4], D5
  3655. 00002354  3D7C 0BB8 FFE6           move.w     [A6 - 0x1A], 0xBB8
  3656. 0000235A  7600                     moveq.l    D3, 0x00
  3657. label0000235C:
  3658. 0000235C  3E04                     move.w     D7, D4
  3659. 0000235E  5347                     subq.w     D7, 1
  3660. 00002360  4A47                     tst.w      D7
  3661. 00002362  6D04                     blt        +0x6 /* 00002368 */
  3662. label00002364:
  3663. 00002364  51CF FFFE                dbf        D7, -0x4 /* 00002364 */
  3664. label00002368:
  3665. 00002368  7000                     moveq.l    D0, 0x00
  3666. 0000236A  1014                     move.b     D0, [A4]
  3667. 0000236C  4A80                     tst.l      D0
  3668. 0000236E  7201                     moveq.l    D1, 0x01
  3669. 00002370  C200                     and.b      D1, D0
  3670. 00002372  7000                     moveq.l    D0, 0x00
  3671. 00002374  1001                     move.b     D0, D1
  3672. 00002376  4A80                     tst.l      D0
  3673. 00002378  670E                     beq        +0x10 /* 00002388 */
  3674. 0000237A  302E FFE6                move.w     D0, [A6 - 0x1A]
  3675. 0000237E  536E FFE6                subq.w     [A6 - 0x1A], 1
  3676. 00002382  B66E FFE6                cmp.w      D3, [A6 - 0x1A]
  3677. 00002386  6DD4                     blt        -0x2A /* 0000235C */
  3678. label00002388:
  3679. 00002388  0045 0002                ori.w      D5, 0x2
  3680. 0000238C  3C3C 0BB8                move.w     D6, 0xBB8
  3681. 00002390  7600                     moveq.l    D3, 0x00
  3682. label00002392:
  3683. 00002392  7000                     moveq.l    D0, 0x00
  3684. 00002394  1014                     move.b     D0, [A4]
  3685. 00002396  4A80                     tst.l      D0
  3686. 00002398  7202                     moveq.l    D1, 0x02
  3687. 0000239A  C200                     and.b      D1, D0
  3688. 0000239C  7000                     moveq.l    D0, 0x00
  3689. 0000239E  1001                     move.b     D0, D1
  3690. 000023A0  4A80                     tst.l      D0
  3691. 000023A2  7202                     moveq.l    D1, 0x02
  3692. 000023A4  C245                     and.w      D1, D5
  3693. 000023A6  7400                     moveq.l    D2, 0x00
  3694. 000023A8  3401                     move.w     D2, D1
  3695. 000023AA  4A82                     tst.l      D2
  3696. 000023AC  B480                     cmp.l      D2, D0
  3697. 000023AE  670E                     beq        +0x10 /* 000023BE */
  3698. 000023B0  1885                     move.b     [A4], D5
  3699. 000023B2  6002                     bra        +0x4 /* 000023B6 */
  3700. 000023B4  6008                     bra        +0xA /* 000023BE */
  3701. label000023B6:
  3702. 000023B6  3006                     move.w     D0, D6
  3703. 000023B8  5346                     subq.w     D6, 1
  3704. 000023BA  B646                     cmp.w      D3, D6
  3705. 000023BC  6DD4                     blt        -0x2A /* 00002392 */
  3706. label000023BE:
  3707. 000023BE  3E2E FFE4                move.w     D7, [A6 - 0x1C]
  3708. 000023C2  5347                     subq.w     D7, 1
  3709. 000023C4  4A47                     tst.w      D7
  3710. 000023C6  6D04                     blt        +0x6 /* 000023CC */
  3711. label000023C8:
  3712. 000023C8  51CF FFFE                dbf        D7, -0x4 /* 000023C8 */
  3713. label000023CC:
  3714. 000023CC  0C6E 00E0 000A           cmpi.w     [A6 + 0xA], 0xE0
  3715. 000023D2  6612                     bne        +0x14 /* 000023E6 */
  3716. 000023D4  302E FFEC                move.w     D0, [A6 - 0x14]
  3717. 000023D8  206E FFF6                movea.l    A0, [A6 - 0xA]
  3718. 000023DC  322E FFEC                move.w     D1, [A6 - 0x14]
  3719. 000023E0  11B3 0000 1000           move.b     [A0 + D1.w], [A3 + D0.w]
  3720. label000023E6:
  3721. 000023E6  302E FFEC                move.w     D0, [A6 - 0x14]
  3722. 000023EA  526E FFEC                addq.w     [A6 - 0x14], 1
  3723. 000023EE  0C6E 0100 FFEC           cmpi.w     [A6 - 0x14], 0x100
  3724. 000023F4  6D00 FE5C                blt        -0x1A2 /* 00002252 */
  3725. 000023F8  4A6E FFE6                tst.w      [A6 - 0x1A]
  3726. 000023FC  661C                     bne        +0x1E /* 0000241A */
  3727. 000023FE  206E FFF2                movea.l    A0, [A6 - 0xE]
  3728. 00002402  20AE FFFA                move.l     [A0], [A6 - 0x6]
  3729. 00002406  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3730. 0000240A  2049                     movea.l    A0, A1
  3731. 0000240C  1010                     move.b     D0, [A0]
  3732. 0000240E  A05D                     syscall    SwapMMUMode
  3733. 00002410  1080                     move.b     [A0], D0
  3734. 00002412  303C E08E                move.w     D0, 0xE08E
  3735. 00002416  6000 00A0                bra        +0xA2 /* 000024B8 */
  3736. label0000241A:
  3737. 0000241A  0245 FFFD                andi.w     D5, 0xFFFD
  3738. 0000241E  3C3C 0BB8                move.w     D6, 0xBB8
  3739. 00002422  7600                     moveq.l    D3, 0x00
  3740. label00002424:
  3741. 00002424  7000                     moveq.l    D0, 0x00
  3742. 00002426  1014                     move.b     D0, [A4]
  3743. 00002428  4A80                     tst.l      D0
  3744. 0000242A  7202                     moveq.l    D1, 0x02
  3745. 0000242C  C200                     and.b      D1, D0
  3746. 0000242E  7000                     moveq.l    D0, 0x00
  3747. 00002430  1001                     move.b     D0, D1
  3748. 00002432  4A80                     tst.l      D0
  3749. 00002434  7202                     moveq.l    D1, 0x02
  3750. 00002436  C245                     and.w      D1, D5
  3751. 00002438  7400                     moveq.l    D2, 0x00
  3752. 0000243A  3401                     move.w     D2, D1
  3753. 0000243C  4A82                     tst.l      D2
  3754. 0000243E  B480                     cmp.l      D2, D0
  3755. 00002440  670E                     beq        +0x10 /* 00002450 */
  3756. 00002442  1885                     move.b     [A4], D5
  3757. 00002444  6002                     bra        +0x4 /* 00002448 */
  3758. 00002446  6008                     bra        +0xA /* 00002450 */
  3759. label00002448:
  3760. 00002448  3006                     move.w     D0, D6
  3761. 0000244A  5346                     subq.w     D6, 1
  3762. 0000244C  B646                     cmp.w      D3, D6
  3763. 0000244E  6DD4                     blt        -0x2A /* 00002424 */
  3764. label00002450:
  3765. 00002450  0885 0000                bclr.b     D5, 0x0
  3766. 00002454  1885                     move.b     [A4], D5
  3767. 00002456  3E04                     move.w     D7, D4
  3768. 00002458  5347                     subq.w     D7, 1
  3769. 0000245A  4A47                     tst.w      D7
  3770. 0000245C  6D04                     blt        +0x6 /* 00002462 */
  3771. label0000245E:
  3772. 0000245E  51CF FFFE                dbf        D7, -0x4 /* 0000245E */
  3773. label00002462:
  3774. 00002462  0045 0002                ori.w      D5, 0x2
  3775. 00002466  3C3C 0BB8                move.w     D6, 0xBB8
  3776. 0000246A  7600                     moveq.l    D3, 0x00
  3777. label0000246C:
  3778. 0000246C  7000                     moveq.l    D0, 0x00
  3779. 0000246E  1014                     move.b     D0, [A4]
  3780. 00002470  4A80                     tst.l      D0
  3781. 00002472  7202                     moveq.l    D1, 0x02
  3782. 00002474  C200                     and.b      D1, D0
  3783. 00002476  7000                     moveq.l    D0, 0x00
  3784. 00002478  1001                     move.b     D0, D1
  3785. 0000247A  4A80                     tst.l      D0
  3786. 0000247C  7202                     moveq.l    D1, 0x02
  3787. 0000247E  C245                     and.w      D1, D5
  3788. 00002480  7400                     moveq.l    D2, 0x00
  3789. 00002482  3401                     move.w     D2, D1
  3790. 00002484  4A82                     tst.l      D2
  3791. 00002486  B480                     cmp.l      D2, D0
  3792. 00002488  670E                     beq        +0x10 /* 00002498 */
  3793. 0000248A  1885                     move.b     [A4], D5
  3794. 0000248C  6002                     bra        +0x4 /* 00002490 */
  3795. 0000248E  6008                     bra        +0xA /* 00002498 */
  3796. label00002490:
  3797. 00002490  3006                     move.w     D0, D6
  3798. 00002492  5346                     subq.w     D6, 1
  3799. 00002494  B646                     cmp.w      D3, D6
  3800. 00002496  6DD4                     blt        -0x2A /* 0000246C */
  3801. label00002498:
  3802. 00002498  3E04                     move.w     D7, D4
  3803. 0000249A  5347                     subq.w     D7, 1
  3804. 0000249C  4A47                     tst.w      D7
  3805. 0000249E  6D04                     blt        +0x6 /* 000024A4 */
  3806. label000024A0:
  3807. 000024A0  51CF FFFE                dbf        D7, -0x4 /* 000024A0 */
  3808. label000024A4:
  3809. 000024A4  0045 0001                ori.w      D5, 0x1
  3810. 000024A8  1885                     move.b     [A4], D5
  3811. 000024AA  43EE FFFF                lea.l      A1, [A6 - 0x1]
  3812. 000024AE  2049                     movea.l    A0, A1
  3813. 000024B0  1010                     move.b     D0, [A0]
  3814. 000024B2  A05D                     syscall    SwapMMUMode
  3815. 000024B4  1080                     move.b     [A0], D0
  3816. 000024B6  7000                     moveq.l    D0, 0x00
  3817. label000024B8:
  3818. 000024B8  4CEE 18F8 FFC8           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x38]
  3819. 000024BE  4E5E                     unlink     A6
  3820. 000024C0  4E75                     rts
  3821. fn000024C2:
  3822. 000024C2  4E56 FFE8                link       A6, -0x0018
  3823. 000024C6  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  3824. 000024CA  206E 0014                movea.l    A0, [A6 + 0x14]
  3825. 000024CE  2D50 FFF6                move.l     [A6 - 0xA], [A0]
  3826. 000024D2  266E FFF6                movea.l    A3, [A6 - 0xA]
  3827. 000024D6  D7FC 00FE 6018           add.l      A3, 0xFE6018
  3828. 000024DC  286E FFF6                movea.l    A4, [A6 - 0xA]
  3829. 000024E0  D9FC 00FE 701D           add.l      A4, 0xFE701D
  3830. 000024E6  598F                     subq.l     A7, 4
  3831. 000024E8  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  3832. 000024EC  4EBA 3A82                jsr        [PC + 0x3A82 /* 00005F70 */]
  3833. 000024F0  2D5F FFF2                move.l     [A6 - 0xE], [A7]+
  3834. 000024F4  1D7C 0001 FFFB           move.b     [A6 - 0x5], 0x1
  3835. 000024FA  43EE FFFB                lea.l      A1, [A6 - 0x5]
  3836. 000024FE  2049                     movea.l    A0, A1
  3837. 00002500  1010                     move.b     D0, [A0]
  3838. 00002502  A05D                     syscall    SwapMMUMode
  3839. 00002504  1080                     move.b     [A0], D0
  3840. 00002506  2D53 FFFC                move.l     [A6 - 0x4], [A3]
  3841. 0000250A  7003                     moveq.l    D0, 0x03
  3842. 0000250C  2680                     move.l     [A3], D0
  3843. 0000250E  7A00                     moveq.l    D5, 0x00
  3844. 00002510  1A14                     move.b     D5, [A4]
  3845. 00002512  4A85                     tst.l      D5
  3846. 00002514  722F                     moveq.l    D1, 0x2F
  3847. 00002516  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  3848. 0000251A  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  3849. 00002522  3801                     move.w     D4, D1
  3850. 00002524  7228                     moveq.l    D1, 0x28
  3851. 00002526  C3F8 0D00                muls.w     D1, [0x00000D00 /* TimeDBRA */]
  3852. 0000252A  4C7C 1801 0000 2710      movem.l    D0,A3,A4, 0x2710
  3853. 00002532  3D41 FFE8                move.w     [A6 - 0x18], D1
  3854. 00002536  3D7C 0BB8 FFF0           move.w     [A6 - 0x10], 0xBB8
  3855. 0000253C  7600                     moveq.l    D3, 0x00
  3856. label0000253E:
  3857. 0000253E  7000                     moveq.l    D0, 0x00
  3858. 00002540  1014                     move.b     D0, [A4]
  3859. 00002542  4A80                     tst.l      D0
  3860. 00002544  7202                     moveq.l    D1, 0x02
  3861. 00002546  C200                     and.b      D1, D0
  3862. 00002548  7000                     moveq.l    D0, 0x00
  3863. 0000254A  1001                     move.b     D0, D1
  3864. 0000254C  4A80                     tst.l      D0
  3865. 0000254E  0C40 0002                cmpi.w     D0, 0x2
  3866. 00002552  6618                     bne        +0x1A /* 0000256C */
  3867. 00002554  7000                     moveq.l    D0, 0x00
  3868. 00002556  1014                     move.b     D0, [A4]
  3869. 00002558  4A80                     tst.l      D0
  3870. 0000255A  7201                     moveq.l    D1, 0x01
  3871. 0000255C  C200                     and.b      D1, D0
  3872. 0000255E  7000                     moveq.l    D0, 0x00
  3873. 00002560  1001                     move.b     D0, D1
  3874. 00002562  4A80                     tst.l      D0
  3875. 00002564  0C40 0001                cmpi.w     D0, 0x1
  3876. 00002568  6700 0096                beq        +0x98 /* 00002600 */
  3877. label0000256C:
  3878. 0000256C  0245 FFFD                andi.w     D5, 0xFFFD
  3879. 00002570  3C3C 0BB8                move.w     D6, 0xBB8
  3880. label00002574:
  3881. 00002574  7000                     moveq.l    D0, 0x00
  3882. 00002576  1014                     move.b     D0, [A4]
  3883. 00002578  4A80                     tst.l      D0
  3884. 0000257A  7202                     moveq.l    D1, 0x02
  3885. 0000257C  C200                     and.b      D1, D0
  3886. 0000257E  7000                     moveq.l    D0, 0x00
  3887. 00002580  1001                     move.b     D0, D1
  3888. 00002582  4A80                     tst.l      D0
  3889. 00002584  7202                     moveq.l    D1, 0x02
  3890. 00002586  C245                     and.w      D1, D5
  3891. 00002588  7400                     moveq.l    D2, 0x00
  3892. 0000258A  3401                     move.w     D2, D1
  3893. 0000258C  4A82                     tst.l      D2
  3894. 0000258E  B480                     cmp.l      D2, D0
  3895. 00002590  670E                     beq        +0x10 /* 000025A0 */
  3896. 00002592  1885                     move.b     [A4], D5
  3897. 00002594  6002                     bra        +0x4 /* 00002598 */
  3898. 00002596  6008                     bra        +0xA /* 000025A0 */
  3899. label00002598:
  3900. 00002598  3006                     move.w     D0, D6
  3901. 0000259A  5346                     subq.w     D6, 1
  3902. 0000259C  B646                     cmp.w      D3, D6
  3903. 0000259E  6DD4                     blt        -0x2A /* 00002574 */
  3904. label000025A0:
  3905. 000025A0  0885 0000                bclr.b     D5, 0x0
  3906. 000025A4  1885                     move.b     [A4], D5
  3907. 000025A6  0045 0002                ori.w      D5, 0x2
  3908. 000025AA  3C3C 0BB8                move.w     D6, 0xBB8
  3909. label000025AE:
  3910. 000025AE  7000                     moveq.l    D0, 0x00
  3911. 000025B0  1014                     move.b     D0, [A4]
  3912. 000025B2  4A80                     tst.l      D0
  3913. 000025B4  7202                     moveq.l    D1, 0x02
  3914. 000025B6  C200                     and.b      D1, D0
  3915. 000025B8  7000                     moveq.l    D0, 0x00
  3916. 000025BA  1001                     move.b     D0, D1
  3917. 000025BC  4A80                     tst.l      D0
  3918. 000025BE  7202                     moveq.l    D1, 0x02
  3919. 000025C0  C245                     and.w      D1, D5
  3920. 000025C2  7400                     moveq.l    D2, 0x00
  3921. 000025C4  3401                     move.w     D2, D1
  3922. 000025C6  4A82                     tst.l      D2
  3923. 000025C8  B480                     cmp.l      D2, D0
  3924. 000025CA  670E                     beq        +0x10 /* 000025DA */
  3925. 000025CC  1885                     move.b     [A4], D5
  3926. 000025CE  6002                     bra        +0x4 /* 000025D2 */
  3927. 000025D0  6008                     bra        +0xA /* 000025DA */
  3928. label000025D2:
  3929. 000025D2  3006                     move.w     D0, D6
  3930. 000025D4  5346                     subq.w     D6, 1
  3931. 000025D6  B646                     cmp.w      D3, D6
  3932. 000025D8  6DD4                     blt        -0x2A /* 000025AE */
  3933. label000025DA:
  3934. 000025DA  3E04                     move.w     D7, D4
  3935. 000025DC  5347                     subq.w     D7, 1
  3936. 000025DE  4A47                     tst.w      D7
  3937. 000025E0  6D04                     blt        +0x6 /* 000025E6 */
  3938. label000025E2:
  3939. 000025E2  51CF FFFE                dbf        D7, -0x4 /* 000025E2 */
  3940. label000025E6:
  3941. 000025E6  0045 0001                ori.w      D5, 0x1
  3942. 000025EA  1885                     move.b     [A4], D5
  3943. 000025EC  6002                     bra        +0x4 /* 000025F0 */
  3944. 000025EE  6010                     bra        +0x12 /* 00002600 */
  3945. label000025F0:
  3946. 000025F0  302E FFF0                move.w     D0, [A6 - 0x10]
  3947. 000025F4  536E FFF0                subq.w     [A6 - 0x10], 1
  3948. 000025F8  B66E FFF0                cmp.w      D3, [A6 - 0x10]
  3949. 000025FC  6D00 FF40                blt        -0xBE /* 0000253E */
  3950. label00002600:
  3951. 00002600  4A6E FFF0                tst.w      [A6 - 0x10]
  3952. 00002604  6618                     bne        +0x1A /* 0000261E */
  3953. 00002606  26AE FFFC                move.l     [A3], [A6 - 0x4]
  3954. 0000260A  43EE FFFB                lea.l      A1, [A6 - 0x5]
  3955. 0000260E  2049                     movea.l    A0, A1
  3956. 00002610  1010                     move.b     D0, [A0]
  3957. 00002612  A05D                     syscall    SwapMMUMode
  3958. 00002614  1080                     move.b     [A0], D0
  3959. 00002616  303C E08E                move.w     D0, 0xE08E
  3960. 0000261A  6000 0776                bra        +0x778 /* 00002D92 */
  3961. label0000261E:
  3962. 0000261E  3E04                     move.w     D7, D4
  3963. 00002620  5347                     subq.w     D7, 1
  3964. 00002622  4A47                     tst.w      D7
  3965. 00002624  6D04                     blt        +0x6 /* 0000262A */
  3966. label00002626:
  3967. 00002626  51CF FFFE                dbf        D7, -0x4 /* 00002626 */
  3968. label0000262A:
  3969. 0000262A  0885 0000                bclr.b     D5, 0x0
  3970. 0000262E  1885                     move.b     [A4], D5
  3971. 00002630  3E04                     move.w     D7, D4
  3972. 00002632  5347                     subq.w     D7, 1
  3973. 00002634  4A47                     tst.w      D7
  3974. 00002636  6D04                     blt        +0x6 /* 0000263C */
  3975. label00002638:
  3976. 00002638  51CF FFFE                dbf        D7, -0x4 /* 00002638 */
  3977. label0000263C:
  3978. 0000263C  303C 00FE                move.w     D0, 0xFE
  3979. 00002640  C06E 000A                and.w      D0, [A6 + 0xA]
  3980. 00002644  3D40 FFEC                move.w     [A6 - 0x14], D0
  3981. 00002648  3D7C 0007 FFEE           move.w     [A6 - 0x12], 0x7
  3982. 0000264E  7600                     moveq.l    D3, 0x00
  3983. label00002650:
  3984. 00002650  0245 FFFD                andi.w     D5, 0xFFFD
  3985. 00002654  3C3C 0BB8                move.w     D6, 0xBB8
  3986. label00002658:
  3987. 00002658  7000                     moveq.l    D0, 0x00
  3988. 0000265A  1014                     move.b     D0, [A4]
  3989. 0000265C  4A80                     tst.l      D0
  3990. 0000265E  7202                     moveq.l    D1, 0x02
  3991. 00002660  C200                     and.b      D1, D0
  3992. 00002662  7000                     moveq.l    D0, 0x00
  3993. 00002664  1001                     move.b     D0, D1
  3994. 00002666  4A80                     tst.l      D0
  3995. 00002668  7202                     moveq.l    D1, 0x02
  3996. 0000266A  C245                     and.w      D1, D5
  3997. 0000266C  7400                     moveq.l    D2, 0x00
  3998. 0000266E  3401                     move.w     D2, D1
  3999. 00002670  4A82                     tst.l      D2
  4000. 00002672  B480                     cmp.l      D2, D0
  4001. 00002674  670E                     beq        +0x10 /* 00002684 */
  4002. 00002676  1885                     move.b     [A4], D5
  4003. 00002678  6002                     bra        +0x4 /* 0000267C */
  4004. 0000267A  6008                     bra        +0xA /* 00002684 */
  4005. label0000267C:
  4006. 0000267C  3006                     move.w     D0, D6
  4007. 0000267E  5346                     subq.w     D6, 1
  4008. 00002680  B646                     cmp.w      D3, D6
  4009. 00002682  6DD4                     blt        -0x2A /* 00002658 */
  4010. label00002684:
  4011. 00002684  302E FFEE                move.w     D0, [A6 - 0x12]
  4012. 00002688  322E FFEC                move.w     D1, [A6 - 0x14]
  4013. 0000268C  E061                     asr        D1.w, D0
  4014. 0000268E  0801 0000                btst.b     D1, 0x0
  4015. 00002692  6706                     beq        +0x8 /* 0000269A */
  4016. 00002694  0045 0001                ori.w      D5, 0x1
  4017. 00002698  6004                     bra        +0x6 /* 0000269E */
  4018. label0000269A:
  4019. 0000269A  0885 0000                bclr.b     D5, 0x0
  4020. label0000269E:
  4021. 0000269E  1885                     move.b     [A4], D5
  4022. 000026A0  3E04                     move.w     D7, D4
  4023. 000026A2  5347                     subq.w     D7, 1
  4024. 000026A4  4A47                     tst.w      D7
  4025. 000026A6  6D04                     blt        +0x6 /* 000026AC */
  4026. label000026A8:
  4027. 000026A8  51CF FFFE                dbf        D7, -0x4 /* 000026A8 */
  4028. label000026AC:
  4029. 000026AC  0045 0002                ori.w      D5, 0x2
  4030. 000026B0  3C3C 0BB8                move.w     D6, 0xBB8
  4031. label000026B4:
  4032. 000026B4  7000                     moveq.l    D0, 0x00
  4033. 000026B6  1014                     move.b     D0, [A4]
  4034. 000026B8  4A80                     tst.l      D0
  4035. 000026BA  7202                     moveq.l    D1, 0x02
  4036. 000026BC  C200                     and.b      D1, D0
  4037. 000026BE  7000                     moveq.l    D0, 0x00
  4038. 000026C0  1001                     move.b     D0, D1
  4039. 000026C2  4A80                     tst.l      D0
  4040. 000026C4  7202                     moveq.l    D1, 0x02
  4041. 000026C6  C245                     and.w      D1, D5
  4042. 000026C8  7400                     moveq.l    D2, 0x00
  4043. 000026CA  3401                     move.w     D2, D1
  4044. 000026CC  4A82                     tst.l      D2
  4045. 000026CE  B480                     cmp.l      D2, D0
  4046. 000026D0  670E                     beq        +0x10 /* 000026E0 */
  4047. 000026D2  1885                     move.b     [A4], D5
  4048. 000026D4  6002                     bra        +0x4 /* 000026D8 */
  4049. 000026D6  6008                     bra        +0xA /* 000026E0 */
  4050. label000026D8:
  4051. 000026D8  3006                     move.w     D0, D6
  4052. 000026DA  5346                     subq.w     D6, 1
  4053. 000026DC  B646                     cmp.w      D3, D6
  4054. 000026DE  6DD4                     blt        -0x2A /* 000026B4 */
  4055. label000026E0:
  4056. 000026E0  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4057. 000026E4  5347                     subq.w     D7, 1
  4058. 000026E6  4A47                     tst.w      D7
  4059. 000026E8  6D04                     blt        +0x6 /* 000026EE */
  4060. label000026EA:
  4061. 000026EA  51CF FFFE                dbf        D7, -0x4 /* 000026EA */
  4062. label000026EE:
  4063. 000026EE  302E FFEE                move.w     D0, [A6 - 0x12]
  4064. 000026F2  536E FFEE                subq.w     [A6 - 0x12], 1
  4065. 000026F6  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  4066. 000026FA  6F00 FF54                ble        -0xAA /* 00002650 */
  4067. 000026FE  0245 FFFD                andi.w     D5, 0xFFFD
  4068. 00002702  3C3C 0BB8                move.w     D6, 0xBB8
  4069. 00002706  7600                     moveq.l    D3, 0x00
  4070. label00002708:
  4071. 00002708  7000                     moveq.l    D0, 0x00
  4072. 0000270A  1014                     move.b     D0, [A4]
  4073. 0000270C  4A80                     tst.l      D0
  4074. 0000270E  7202                     moveq.l    D1, 0x02
  4075. 00002710  C200                     and.b      D1, D0
  4076. 00002712  7000                     moveq.l    D0, 0x00
  4077. 00002714  1001                     move.b     D0, D1
  4078. 00002716  4A80                     tst.l      D0
  4079. 00002718  7202                     moveq.l    D1, 0x02
  4080. 0000271A  C245                     and.w      D1, D5
  4081. 0000271C  7400                     moveq.l    D2, 0x00
  4082. 0000271E  3401                     move.w     D2, D1
  4083. 00002720  4A82                     tst.l      D2
  4084. 00002722  B480                     cmp.l      D2, D0
  4085. 00002724  670E                     beq        +0x10 /* 00002734 */
  4086. 00002726  1885                     move.b     [A4], D5
  4087. 00002728  6002                     bra        +0x4 /* 0000272C */
  4088. 0000272A  6008                     bra        +0xA /* 00002734 */
  4089. label0000272C:
  4090. 0000272C  3006                     move.w     D0, D6
  4091. 0000272E  5346                     subq.w     D6, 1
  4092. 00002730  B646                     cmp.w      D3, D6
  4093. 00002732  6DD4                     blt        -0x2A /* 00002708 */
  4094. label00002734:
  4095. 00002734  0045 0001                ori.w      D5, 0x1
  4096. 00002738  1885                     move.b     [A4], D5
  4097. 0000273A  3D7C 0BB8 FFEA           move.w     [A6 - 0x16], 0xBB8
  4098. 00002740  7600                     moveq.l    D3, 0x00
  4099. label00002742:
  4100. 00002742  3E04                     move.w     D7, D4
  4101. 00002744  5347                     subq.w     D7, 1
  4102. 00002746  4A47                     tst.w      D7
  4103. 00002748  6D04                     blt        +0x6 /* 0000274E */
  4104. label0000274A:
  4105. 0000274A  51CF FFFE                dbf        D7, -0x4 /* 0000274A */
  4106. label0000274E:
  4107. 0000274E  7000                     moveq.l    D0, 0x00
  4108. 00002750  1014                     move.b     D0, [A4]
  4109. 00002752  4A80                     tst.l      D0
  4110. 00002754  7201                     moveq.l    D1, 0x01
  4111. 00002756  C200                     and.b      D1, D0
  4112. 00002758  7000                     moveq.l    D0, 0x00
  4113. 0000275A  1001                     move.b     D0, D1
  4114. 0000275C  4A80                     tst.l      D0
  4115. 0000275E  670E                     beq        +0x10 /* 0000276E */
  4116. 00002760  302E FFEA                move.w     D0, [A6 - 0x16]
  4117. 00002764  536E FFEA                subq.w     [A6 - 0x16], 1
  4118. 00002768  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  4119. 0000276C  6DD4                     blt        -0x2A /* 00002742 */
  4120. label0000276E:
  4121. 0000276E  4A6E FFEA                tst.w      [A6 - 0x16]
  4122. 00002772  664E                     bne        +0x50 /* 000027C2 */
  4123. 00002774  0045 0002                ori.w      D5, 0x2
  4124. 00002778  3C3C 0BB8                move.w     D6, 0xBB8
  4125. 0000277C  7600                     moveq.l    D3, 0x00
  4126. label0000277E:
  4127. 0000277E  7000                     moveq.l    D0, 0x00
  4128. 00002780  1014                     move.b     D0, [A4]
  4129. 00002782  4A80                     tst.l      D0
  4130. 00002784  7202                     moveq.l    D1, 0x02
  4131. 00002786  C200                     and.b      D1, D0
  4132. 00002788  7000                     moveq.l    D0, 0x00
  4133. 0000278A  1001                     move.b     D0, D1
  4134. 0000278C  4A80                     tst.l      D0
  4135. 0000278E  7202                     moveq.l    D1, 0x02
  4136. 00002790  C245                     and.w      D1, D5
  4137. 00002792  7400                     moveq.l    D2, 0x00
  4138. 00002794  3401                     move.w     D2, D1
  4139. 00002796  4A82                     tst.l      D2
  4140. 00002798  B480                     cmp.l      D2, D0
  4141. 0000279A  670E                     beq        +0x10 /* 000027AA */
  4142. 0000279C  1885                     move.b     [A4], D5
  4143. 0000279E  6002                     bra        +0x4 /* 000027A2 */
  4144. 000027A0  6008                     bra        +0xA /* 000027AA */
  4145. label000027A2:
  4146. 000027A2  3006                     move.w     D0, D6
  4147. 000027A4  5346                     subq.w     D6, 1
  4148. 000027A6  B646                     cmp.w      D3, D6
  4149. 000027A8  6DD4                     blt        -0x2A /* 0000277E */
  4150. label000027AA:
  4151. 000027AA  26AE FFFC                move.l     [A3], [A6 - 0x4]
  4152. 000027AE  43EE FFFB                lea.l      A1, [A6 - 0x5]
  4153. 000027B2  2049                     movea.l    A0, A1
  4154. 000027B4  1010                     move.b     D0, [A0]
  4155. 000027B6  A05D                     syscall    SwapMMUMode
  4156. 000027B8  1080                     move.b     [A0], D0
  4157. 000027BA  303C E08E                move.w     D0, 0xE08E
  4158. 000027BE  6000 05D2                bra        +0x5D4 /* 00002D92 */
  4159. label000027C2:
  4160. 000027C2  0045 0002                ori.w      D5, 0x2
  4161. 000027C6  3C3C 0BB8                move.w     D6, 0xBB8
  4162. 000027CA  7600                     moveq.l    D3, 0x00
  4163. label000027CC:
  4164. 000027CC  7000                     moveq.l    D0, 0x00
  4165. 000027CE  1014                     move.b     D0, [A4]
  4166. 000027D0  4A80                     tst.l      D0
  4167. 000027D2  7202                     moveq.l    D1, 0x02
  4168. 000027D4  C200                     and.b      D1, D0
  4169. 000027D6  7000                     moveq.l    D0, 0x00
  4170. 000027D8  1001                     move.b     D0, D1
  4171. 000027DA  4A80                     tst.l      D0
  4172. 000027DC  7202                     moveq.l    D1, 0x02
  4173. 000027DE  C245                     and.w      D1, D5
  4174. 000027E0  7400                     moveq.l    D2, 0x00
  4175. 000027E2  3401                     move.w     D2, D1
  4176. 000027E4  4A82                     tst.l      D2
  4177. 000027E6  B480                     cmp.l      D2, D0
  4178. 000027E8  670E                     beq        +0x10 /* 000027F8 */
  4179. 000027EA  1885                     move.b     [A4], D5
  4180. 000027EC  6002                     bra        +0x4 /* 000027F0 */
  4181. 000027EE  6008                     bra        +0xA /* 000027F8 */
  4182. label000027F0:
  4183. 000027F0  3006                     move.w     D0, D6
  4184. 000027F2  5346                     subq.w     D6, 1
  4185. 000027F4  B646                     cmp.w      D3, D6
  4186. 000027F6  6DD4                     blt        -0x2A /* 000027CC */
  4187. label000027F8:
  4188. 000027F8  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4189. 000027FC  5347                     subq.w     D7, 1
  4190. 000027FE  4A47                     tst.w      D7
  4191. 00002800  6D04                     blt        +0x6 /* 00002806 */
  4192. label00002802:
  4193. 00002802  51CF FFFE                dbf        D7, -0x4 /* 00002802 */
  4194. label00002806:
  4195. 00002806  3D6E 000E FFEC           move.w     [A6 - 0x14], [A6 + 0xE]
  4196. 0000280C  3D7C 0007 FFEE           move.w     [A6 - 0x12], 0x7
  4197. 00002812  7600                     moveq.l    D3, 0x00
  4198. label00002814:
  4199. 00002814  0245 FFFD                andi.w     D5, 0xFFFD
  4200. 00002818  3C3C 0BB8                move.w     D6, 0xBB8
  4201. label0000281C:
  4202. 0000281C  7000                     moveq.l    D0, 0x00
  4203. 0000281E  1014                     move.b     D0, [A4]
  4204. 00002820  4A80                     tst.l      D0
  4205. 00002822  7202                     moveq.l    D1, 0x02
  4206. 00002824  C200                     and.b      D1, D0
  4207. 00002826  7000                     moveq.l    D0, 0x00
  4208. 00002828  1001                     move.b     D0, D1
  4209. 0000282A  4A80                     tst.l      D0
  4210. 0000282C  7202                     moveq.l    D1, 0x02
  4211. 0000282E  C245                     and.w      D1, D5
  4212. 00002830  7400                     moveq.l    D2, 0x00
  4213. 00002832  3401                     move.w     D2, D1
  4214. 00002834  4A82                     tst.l      D2
  4215. 00002836  B480                     cmp.l      D2, D0
  4216. 00002838  670E                     beq        +0x10 /* 00002848 */
  4217. 0000283A  1885                     move.b     [A4], D5
  4218. 0000283C  6002                     bra        +0x4 /* 00002840 */
  4219. 0000283E  6008                     bra        +0xA /* 00002848 */
  4220. label00002840:
  4221. 00002840  3006                     move.w     D0, D6
  4222. 00002842  5346                     subq.w     D6, 1
  4223. 00002844  B646                     cmp.w      D3, D6
  4224. 00002846  6DD4                     blt        -0x2A /* 0000281C */
  4225. label00002848:
  4226. 00002848  302E FFEE                move.w     D0, [A6 - 0x12]
  4227. 0000284C  322E FFEC                move.w     D1, [A6 - 0x14]
  4228. 00002850  E061                     asr        D1.w, D0
  4229. 00002852  0801 0000                btst.b     D1, 0x0
  4230. 00002856  6706                     beq        +0x8 /* 0000285E */
  4231. 00002858  0045 0001                ori.w      D5, 0x1
  4232. 0000285C  6004                     bra        +0x6 /* 00002862 */
  4233. label0000285E:
  4234. 0000285E  0885 0000                bclr.b     D5, 0x0
  4235. label00002862:
  4236. 00002862  1885                     move.b     [A4], D5
  4237. 00002864  3E04                     move.w     D7, D4
  4238. 00002866  5347                     subq.w     D7, 1
  4239. 00002868  4A47                     tst.w      D7
  4240. 0000286A  6D04                     blt        +0x6 /* 00002870 */
  4241. label0000286C:
  4242. 0000286C  51CF FFFE                dbf        D7, -0x4 /* 0000286C */
  4243. label00002870:
  4244. 00002870  0045 0002                ori.w      D5, 0x2
  4245. 00002874  3C3C 0BB8                move.w     D6, 0xBB8
  4246. label00002878:
  4247. 00002878  7000                     moveq.l    D0, 0x00
  4248. 0000287A  1014                     move.b     D0, [A4]
  4249. 0000287C  4A80                     tst.l      D0
  4250. 0000287E  7202                     moveq.l    D1, 0x02
  4251. 00002880  C200                     and.b      D1, D0
  4252. 00002882  7000                     moveq.l    D0, 0x00
  4253. 00002884  1001                     move.b     D0, D1
  4254. 00002886  4A80                     tst.l      D0
  4255. 00002888  7202                     moveq.l    D1, 0x02
  4256. 0000288A  C245                     and.w      D1, D5
  4257. 0000288C  7400                     moveq.l    D2, 0x00
  4258. 0000288E  3401                     move.w     D2, D1
  4259. 00002890  4A82                     tst.l      D2
  4260. 00002892  B480                     cmp.l      D2, D0
  4261. 00002894  670E                     beq        +0x10 /* 000028A4 */
  4262. 00002896  1885                     move.b     [A4], D5
  4263. 00002898  6002                     bra        +0x4 /* 0000289C */
  4264. 0000289A  6008                     bra        +0xA /* 000028A4 */
  4265. label0000289C:
  4266. 0000289C  3006                     move.w     D0, D6
  4267. 0000289E  5346                     subq.w     D6, 1
  4268. 000028A0  B646                     cmp.w      D3, D6
  4269. 000028A2  6DD4                     blt        -0x2A /* 00002878 */
  4270. label000028A4:
  4271. 000028A4  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4272. 000028A8  5347                     subq.w     D7, 1
  4273. 000028AA  4A47                     tst.w      D7
  4274. 000028AC  6D04                     blt        +0x6 /* 000028B2 */
  4275. label000028AE:
  4276. 000028AE  51CF FFFE                dbf        D7, -0x4 /* 000028AE */
  4277. label000028B2:
  4278. 000028B2  302E FFEE                move.w     D0, [A6 - 0x12]
  4279. 000028B6  536E FFEE                subq.w     [A6 - 0x12], 1
  4280. 000028BA  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  4281. 000028BE  6F00 FF54                ble        -0xAA /* 00002814 */
  4282. 000028C2  0245 FFFD                andi.w     D5, 0xFFFD
  4283. 000028C6  3C3C 0BB8                move.w     D6, 0xBB8
  4284. 000028CA  7600                     moveq.l    D3, 0x00
  4285. label000028CC:
  4286. 000028CC  7000                     moveq.l    D0, 0x00
  4287. 000028CE  1014                     move.b     D0, [A4]
  4288. 000028D0  4A80                     tst.l      D0
  4289. 000028D2  7202                     moveq.l    D1, 0x02
  4290. 000028D4  C200                     and.b      D1, D0
  4291. 000028D6  7000                     moveq.l    D0, 0x00
  4292. 000028D8  1001                     move.b     D0, D1
  4293. 000028DA  4A80                     tst.l      D0
  4294. 000028DC  7202                     moveq.l    D1, 0x02
  4295. 000028DE  C245                     and.w      D1, D5
  4296. 000028E0  7400                     moveq.l    D2, 0x00
  4297. 000028E2  3401                     move.w     D2, D1
  4298. 000028E4  4A82                     tst.l      D2
  4299. 000028E6  B480                     cmp.l      D2, D0
  4300. 000028E8  670E                     beq        +0x10 /* 000028F8 */
  4301. 000028EA  1885                     move.b     [A4], D5
  4302. 000028EC  6002                     bra        +0x4 /* 000028F0 */
  4303. 000028EE  6008                     bra        +0xA /* 000028F8 */
  4304. label000028F0:
  4305. 000028F0  3006                     move.w     D0, D6
  4306. 000028F2  5346                     subq.w     D6, 1
  4307. 000028F4  B646                     cmp.w      D3, D6
  4308. 000028F6  6DD4                     blt        -0x2A /* 000028CC */
  4309. label000028F8:
  4310. 000028F8  0045 0001                ori.w      D5, 0x1
  4311. 000028FC  1885                     move.b     [A4], D5
  4312. 000028FE  3D7C 0BB8 FFEA           move.w     [A6 - 0x16], 0xBB8
  4313. 00002904  7600                     moveq.l    D3, 0x00
  4314. label00002906:
  4315. 00002906  3E04                     move.w     D7, D4
  4316. 00002908  5347                     subq.w     D7, 1
  4317. 0000290A  4A47                     tst.w      D7
  4318. 0000290C  6D04                     blt        +0x6 /* 00002912 */
  4319. label0000290E:
  4320. 0000290E  51CF FFFE                dbf        D7, -0x4 /* 0000290E */
  4321. label00002912:
  4322. 00002912  7000                     moveq.l    D0, 0x00
  4323. 00002914  1014                     move.b     D0, [A4]
  4324. 00002916  4A80                     tst.l      D0
  4325. 00002918  7201                     moveq.l    D1, 0x01
  4326. 0000291A  C200                     and.b      D1, D0
  4327. 0000291C  7000                     moveq.l    D0, 0x00
  4328. 0000291E  1001                     move.b     D0, D1
  4329. 00002920  4A80                     tst.l      D0
  4330. 00002922  670E                     beq        +0x10 /* 00002932 */
  4331. 00002924  302E FFEA                move.w     D0, [A6 - 0x16]
  4332. 00002928  536E FFEA                subq.w     [A6 - 0x16], 1
  4333. 0000292C  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  4334. 00002930  6DD4                     blt        -0x2A /* 00002906 */
  4335. label00002932:
  4336. 00002932  4A6E FFEA                tst.w      [A6 - 0x16]
  4337. 00002936  664E                     bne        +0x50 /* 00002986 */
  4338. 00002938  0045 0002                ori.w      D5, 0x2
  4339. 0000293C  3C3C 0BB8                move.w     D6, 0xBB8
  4340. 00002940  7600                     moveq.l    D3, 0x00
  4341. label00002942:
  4342. 00002942  7000                     moveq.l    D0, 0x00
  4343. 00002944  1014                     move.b     D0, [A4]
  4344. 00002946  4A80                     tst.l      D0
  4345. 00002948  7202                     moveq.l    D1, 0x02
  4346. 0000294A  C200                     and.b      D1, D0
  4347. 0000294C  7000                     moveq.l    D0, 0x00
  4348. 0000294E  1001                     move.b     D0, D1
  4349. 00002950  4A80                     tst.l      D0
  4350. 00002952  7202                     moveq.l    D1, 0x02
  4351. 00002954  C245                     and.w      D1, D5
  4352. 00002956  7400                     moveq.l    D2, 0x00
  4353. 00002958  3401                     move.w     D2, D1
  4354. 0000295A  4A82                     tst.l      D2
  4355. 0000295C  B480                     cmp.l      D2, D0
  4356. 0000295E  670E                     beq        +0x10 /* 0000296E */
  4357. 00002960  1885                     move.b     [A4], D5
  4358. 00002962  6002                     bra        +0x4 /* 00002966 */
  4359. 00002964  6008                     bra        +0xA /* 0000296E */
  4360. label00002966:
  4361. 00002966  3006                     move.w     D0, D6
  4362. 00002968  5346                     subq.w     D6, 1
  4363. 0000296A  B646                     cmp.w      D3, D6
  4364. 0000296C  6DD4                     blt        -0x2A /* 00002942 */
  4365. label0000296E:
  4366. 0000296E  26AE FFFC                move.l     [A3], [A6 - 0x4]
  4367. 00002972  43EE FFFB                lea.l      A1, [A6 - 0x5]
  4368. 00002976  2049                     movea.l    A0, A1
  4369. 00002978  1010                     move.b     D0, [A0]
  4370. 0000297A  A05D                     syscall    SwapMMUMode
  4371. 0000297C  1080                     move.b     [A0], D0
  4372. 0000297E  303C E08E                move.w     D0, 0xE08E
  4373. 00002982  6000 040E                bra        +0x410 /* 00002D92 */
  4374. label00002986:
  4375. 00002986  0045 0002                ori.w      D5, 0x2
  4376. 0000298A  3C3C 0BB8                move.w     D6, 0xBB8
  4377. 0000298E  7600                     moveq.l    D3, 0x00
  4378. label00002990:
  4379. 00002990  7000                     moveq.l    D0, 0x00
  4380. 00002992  1014                     move.b     D0, [A4]
  4381. 00002994  4A80                     tst.l      D0
  4382. 00002996  7202                     moveq.l    D1, 0x02
  4383. 00002998  C200                     and.b      D1, D0
  4384. 0000299A  7000                     moveq.l    D0, 0x00
  4385. 0000299C  1001                     move.b     D0, D1
  4386. 0000299E  4A80                     tst.l      D0
  4387. 000029A0  7202                     moveq.l    D1, 0x02
  4388. 000029A2  C245                     and.w      D1, D5
  4389. 000029A4  7400                     moveq.l    D2, 0x00
  4390. 000029A6  3401                     move.w     D2, D1
  4391. 000029A8  4A82                     tst.l      D2
  4392. 000029AA  B480                     cmp.l      D2, D0
  4393. 000029AC  670E                     beq        +0x10 /* 000029BC */
  4394. 000029AE  1885                     move.b     [A4], D5
  4395. 000029B0  6002                     bra        +0x4 /* 000029B4 */
  4396. 000029B2  6008                     bra        +0xA /* 000029BC */
  4397. label000029B4:
  4398. 000029B4  3006                     move.w     D0, D6
  4399. 000029B6  5346                     subq.w     D6, 1
  4400. 000029B8  B646                     cmp.w      D3, D6
  4401. 000029BA  6DD4                     blt        -0x2A /* 00002990 */
  4402. label000029BC:
  4403. 000029BC  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4404. 000029C0  5347                     subq.w     D7, 1
  4405. 000029C2  4A47                     tst.w      D7
  4406. 000029C4  6D04                     blt        +0x6 /* 000029CA */
  4407. label000029C6:
  4408. 000029C6  51CF FFFE                dbf        D7, -0x4 /* 000029C6 */
  4409. label000029CA:
  4410. 000029CA  0245 FFFD                andi.w     D5, 0xFFFD
  4411. 000029CE  3C3C 0BB8                move.w     D6, 0xBB8
  4412. 000029D2  7600                     moveq.l    D3, 0x00
  4413. label000029D4:
  4414. 000029D4  7000                     moveq.l    D0, 0x00
  4415. 000029D6  1014                     move.b     D0, [A4]
  4416. 000029D8  4A80                     tst.l      D0
  4417. 000029DA  7202                     moveq.l    D1, 0x02
  4418. 000029DC  C200                     and.b      D1, D0
  4419. 000029DE  7000                     moveq.l    D0, 0x00
  4420. 000029E0  1001                     move.b     D0, D1
  4421. 000029E2  4A80                     tst.l      D0
  4422. 000029E4  7202                     moveq.l    D1, 0x02
  4423. 000029E6  C245                     and.w      D1, D5
  4424. 000029E8  7400                     moveq.l    D2, 0x00
  4425. 000029EA  3401                     move.w     D2, D1
  4426. 000029EC  4A82                     tst.l      D2
  4427. 000029EE  B480                     cmp.l      D2, D0
  4428. 000029F0  670E                     beq        +0x10 /* 00002A00 */
  4429. 000029F2  1885                     move.b     [A4], D5
  4430. 000029F4  6002                     bra        +0x4 /* 000029F8 */
  4431. 000029F6  6008                     bra        +0xA /* 00002A00 */
  4432. label000029F8:
  4433. 000029F8  3006                     move.w     D0, D6
  4434. 000029FA  5346                     subq.w     D6, 1
  4435. 000029FC  B646                     cmp.w      D3, D6
  4436. 000029FE  6DD4                     blt        -0x2A /* 000029D4 */
  4437. label00002A00:
  4438. 00002A00  3E04                     move.w     D7, D4
  4439. 00002A02  5347                     subq.w     D7, 1
  4440. 00002A04  4A47                     tst.w      D7
  4441. 00002A06  6D04                     blt        +0x6 /* 00002A0C */
  4442. label00002A08:
  4443. 00002A08  51CF FFFE                dbf        D7, -0x4 /* 00002A08 */
  4444. label00002A0C:
  4445. 00002A0C  0045 0002                ori.w      D5, 0x2
  4446. 00002A10  3C3C 0BB8                move.w     D6, 0xBB8
  4447. 00002A14  7600                     moveq.l    D3, 0x00
  4448. label00002A16:
  4449. 00002A16  7000                     moveq.l    D0, 0x00
  4450. 00002A18  1014                     move.b     D0, [A4]
  4451. 00002A1A  4A80                     tst.l      D0
  4452. 00002A1C  7202                     moveq.l    D1, 0x02
  4453. 00002A1E  C200                     and.b      D1, D0
  4454. 00002A20  7000                     moveq.l    D0, 0x00
  4455. 00002A22  1001                     move.b     D0, D1
  4456. 00002A24  4A80                     tst.l      D0
  4457. 00002A26  7202                     moveq.l    D1, 0x02
  4458. 00002A28  C245                     and.w      D1, D5
  4459. 00002A2A  7400                     moveq.l    D2, 0x00
  4460. 00002A2C  3401                     move.w     D2, D1
  4461. 00002A2E  4A82                     tst.l      D2
  4462. 00002A30  B480                     cmp.l      D2, D0
  4463. 00002A32  670E                     beq        +0x10 /* 00002A42 */
  4464. 00002A34  1885                     move.b     [A4], D5
  4465. 00002A36  6002                     bra        +0x4 /* 00002A3A */
  4466. 00002A38  6008                     bra        +0xA /* 00002A42 */
  4467. label00002A3A:
  4468. 00002A3A  3006                     move.w     D0, D6
  4469. 00002A3C  5346                     subq.w     D6, 1
  4470. 00002A3E  B646                     cmp.w      D3, D6
  4471. 00002A40  6DD4                     blt        -0x2A /* 00002A16 */
  4472. label00002A42:
  4473. 00002A42  3E04                     move.w     D7, D4
  4474. 00002A44  5347                     subq.w     D7, 1
  4475. 00002A46  4A47                     tst.w      D7
  4476. 00002A48  6D04                     blt        +0x6 /* 00002A4E */
  4477. label00002A4A:
  4478. 00002A4A  51CF FFFE                dbf        D7, -0x4 /* 00002A4A */
  4479. label00002A4E:
  4480. 00002A4E  0885 0000                bclr.b     D5, 0x0
  4481. 00002A52  1885                     move.b     [A4], D5
  4482. 00002A54  3E04                     move.w     D7, D4
  4483. 00002A56  5347                     subq.w     D7, 1
  4484. 00002A58  4A47                     tst.w      D7
  4485. 00002A5A  6D04                     blt        +0x6 /* 00002A60 */
  4486. label00002A5C:
  4487. 00002A5C  51CF FFFE                dbf        D7, -0x4 /* 00002A5C */
  4488. label00002A60:
  4489. 00002A60  303C 00FE                move.w     D0, 0xFE
  4490. 00002A64  C06E 000A                and.w      D0, [A6 + 0xA]
  4491. 00002A68  3D40 FFEC                move.w     [A6 - 0x14], D0
  4492. 00002A6C  526E FFEC                addq.w     [A6 - 0x14], 1
  4493. 00002A70  3D7C 0007 FFEE           move.w     [A6 - 0x12], 0x7
  4494. 00002A76  7600                     moveq.l    D3, 0x00
  4495. label00002A78:
  4496. 00002A78  0245 FFFD                andi.w     D5, 0xFFFD
  4497. 00002A7C  3C3C 0BB8                move.w     D6, 0xBB8
  4498. label00002A80:
  4499. 00002A80  7000                     moveq.l    D0, 0x00
  4500. 00002A82  1014                     move.b     D0, [A4]
  4501. 00002A84  4A80                     tst.l      D0
  4502. 00002A86  7202                     moveq.l    D1, 0x02
  4503. 00002A88  C200                     and.b      D1, D0
  4504. 00002A8A  7000                     moveq.l    D0, 0x00
  4505. 00002A8C  1001                     move.b     D0, D1
  4506. 00002A8E  4A80                     tst.l      D0
  4507. 00002A90  7202                     moveq.l    D1, 0x02
  4508. 00002A92  C245                     and.w      D1, D5
  4509. 00002A94  7400                     moveq.l    D2, 0x00
  4510. 00002A96  3401                     move.w     D2, D1
  4511. 00002A98  4A82                     tst.l      D2
  4512. 00002A9A  B480                     cmp.l      D2, D0
  4513. 00002A9C  670E                     beq        +0x10 /* 00002AAC */
  4514. 00002A9E  1885                     move.b     [A4], D5
  4515. 00002AA0  6002                     bra        +0x4 /* 00002AA4 */
  4516. 00002AA2  6008                     bra        +0xA /* 00002AAC */
  4517. label00002AA4:
  4518. 00002AA4  3006                     move.w     D0, D6
  4519. 00002AA6  5346                     subq.w     D6, 1
  4520. 00002AA8  B646                     cmp.w      D3, D6
  4521. 00002AAA  6DD4                     blt        -0x2A /* 00002A80 */
  4522. label00002AAC:
  4523. 00002AAC  302E FFEE                move.w     D0, [A6 - 0x12]
  4524. 00002AB0  322E FFEC                move.w     D1, [A6 - 0x14]
  4525. 00002AB4  E061                     asr        D1.w, D0
  4526. 00002AB6  0801 0000                btst.b     D1, 0x0
  4527. 00002ABA  6706                     beq        +0x8 /* 00002AC2 */
  4528. 00002ABC  0045 0001                ori.w      D5, 0x1
  4529. 00002AC0  6004                     bra        +0x6 /* 00002AC6 */
  4530. label00002AC2:
  4531. 00002AC2  0885 0000                bclr.b     D5, 0x0
  4532. label00002AC6:
  4533. 00002AC6  1885                     move.b     [A4], D5
  4534. 00002AC8  3E04                     move.w     D7, D4
  4535. 00002ACA  5347                     subq.w     D7, 1
  4536. 00002ACC  4A47                     tst.w      D7
  4537. 00002ACE  6D04                     blt        +0x6 /* 00002AD4 */
  4538. label00002AD0:
  4539. 00002AD0  51CF FFFE                dbf        D7, -0x4 /* 00002AD0 */
  4540. label00002AD4:
  4541. 00002AD4  0045 0002                ori.w      D5, 0x2
  4542. 00002AD8  3C3C 0BB8                move.w     D6, 0xBB8
  4543. label00002ADC:
  4544. 00002ADC  7000                     moveq.l    D0, 0x00
  4545. 00002ADE  1014                     move.b     D0, [A4]
  4546. 00002AE0  4A80                     tst.l      D0
  4547. 00002AE2  7202                     moveq.l    D1, 0x02
  4548. 00002AE4  C200                     and.b      D1, D0
  4549. 00002AE6  7000                     moveq.l    D0, 0x00
  4550. 00002AE8  1001                     move.b     D0, D1
  4551. 00002AEA  4A80                     tst.l      D0
  4552. 00002AEC  7202                     moveq.l    D1, 0x02
  4553. 00002AEE  C245                     and.w      D1, D5
  4554. 00002AF0  7400                     moveq.l    D2, 0x00
  4555. 00002AF2  3401                     move.w     D2, D1
  4556. 00002AF4  4A82                     tst.l      D2
  4557. 00002AF6  B480                     cmp.l      D2, D0
  4558. 00002AF8  670E                     beq        +0x10 /* 00002B08 */
  4559. 00002AFA  1885                     move.b     [A4], D5
  4560. 00002AFC  6002                     bra        +0x4 /* 00002B00 */
  4561. 00002AFE  6008                     bra        +0xA /* 00002B08 */
  4562. label00002B00:
  4563. 00002B00  3006                     move.w     D0, D6
  4564. 00002B02  5346                     subq.w     D6, 1
  4565. 00002B04  B646                     cmp.w      D3, D6
  4566. 00002B06  6DD4                     blt        -0x2A /* 00002ADC */
  4567. label00002B08:
  4568. 00002B08  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4569. 00002B0C  5347                     subq.w     D7, 1
  4570. 00002B0E  4A47                     tst.w      D7
  4571. 00002B10  6D04                     blt        +0x6 /* 00002B16 */
  4572. label00002B12:
  4573. 00002B12  51CF FFFE                dbf        D7, -0x4 /* 00002B12 */
  4574. label00002B16:
  4575. 00002B16  302E FFEE                move.w     D0, [A6 - 0x12]
  4576. 00002B1A  536E FFEE                subq.w     [A6 - 0x12], 1
  4577. 00002B1E  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  4578. 00002B22  6F00 FF54                ble        -0xAA /* 00002A78 */
  4579. 00002B26  0245 FFFD                andi.w     D5, 0xFFFD
  4580. 00002B2A  3C3C 0BB8                move.w     D6, 0xBB8
  4581. 00002B2E  7600                     moveq.l    D3, 0x00
  4582. label00002B30:
  4583. 00002B30  7000                     moveq.l    D0, 0x00
  4584. 00002B32  1014                     move.b     D0, [A4]
  4585. 00002B34  4A80                     tst.l      D0
  4586. 00002B36  7202                     moveq.l    D1, 0x02
  4587. 00002B38  C200                     and.b      D1, D0
  4588. 00002B3A  7000                     moveq.l    D0, 0x00
  4589. 00002B3C  1001                     move.b     D0, D1
  4590. 00002B3E  4A80                     tst.l      D0
  4591. 00002B40  7202                     moveq.l    D1, 0x02
  4592. 00002B42  C245                     and.w      D1, D5
  4593. 00002B44  7400                     moveq.l    D2, 0x00
  4594. 00002B46  3401                     move.w     D2, D1
  4595. 00002B48  4A82                     tst.l      D2
  4596. 00002B4A  B480                     cmp.l      D2, D0
  4597. 00002B4C  670E                     beq        +0x10 /* 00002B5C */
  4598. 00002B4E  1885                     move.b     [A4], D5
  4599. 00002B50  6002                     bra        +0x4 /* 00002B54 */
  4600. 00002B52  6008                     bra        +0xA /* 00002B5C */
  4601. label00002B54:
  4602. 00002B54  3006                     move.w     D0, D6
  4603. 00002B56  5346                     subq.w     D6, 1
  4604. 00002B58  B646                     cmp.w      D3, D6
  4605. 00002B5A  6DD4                     blt        -0x2A /* 00002B30 */
  4606. label00002B5C:
  4607. 00002B5C  0045 0001                ori.w      D5, 0x1
  4608. 00002B60  1885                     move.b     [A4], D5
  4609. 00002B62  3D7C 0BB8 FFEA           move.w     [A6 - 0x16], 0xBB8
  4610. 00002B68  7600                     moveq.l    D3, 0x00
  4611. label00002B6A:
  4612. 00002B6A  3E04                     move.w     D7, D4
  4613. 00002B6C  5347                     subq.w     D7, 1
  4614. 00002B6E  4A47                     tst.w      D7
  4615. 00002B70  6D04                     blt        +0x6 /* 00002B76 */
  4616. label00002B72:
  4617. 00002B72  51CF FFFE                dbf        D7, -0x4 /* 00002B72 */
  4618. label00002B76:
  4619. 00002B76  7000                     moveq.l    D0, 0x00
  4620. 00002B78  1014                     move.b     D0, [A4]
  4621. 00002B7A  4A80                     tst.l      D0
  4622. 00002B7C  7201                     moveq.l    D1, 0x01
  4623. 00002B7E  C200                     and.b      D1, D0
  4624. 00002B80  7000                     moveq.l    D0, 0x00
  4625. 00002B82  1001                     move.b     D0, D1
  4626. 00002B84  4A80                     tst.l      D0
  4627. 00002B86  670E                     beq        +0x10 /* 00002B96 */
  4628. 00002B88  302E FFEA                move.w     D0, [A6 - 0x16]
  4629. 00002B8C  536E FFEA                subq.w     [A6 - 0x16], 1
  4630. 00002B90  B66E FFEA                cmp.w      D3, [A6 - 0x16]
  4631. 00002B94  6DD4                     blt        -0x2A /* 00002B6A */
  4632. label00002B96:
  4633. 00002B96  4A6E FFEA                tst.w      [A6 - 0x16]
  4634. 00002B9A  664E                     bne        +0x50 /* 00002BEA */
  4635. 00002B9C  0045 0002                ori.w      D5, 0x2
  4636. 00002BA0  3C3C 0BB8                move.w     D6, 0xBB8
  4637. 00002BA4  7600                     moveq.l    D3, 0x00
  4638. label00002BA6:
  4639. 00002BA6  7000                     moveq.l    D0, 0x00
  4640. 00002BA8  1014                     move.b     D0, [A4]
  4641. 00002BAA  4A80                     tst.l      D0
  4642. 00002BAC  7202                     moveq.l    D1, 0x02
  4643. 00002BAE  C200                     and.b      D1, D0
  4644. 00002BB0  7000                     moveq.l    D0, 0x00
  4645. 00002BB2  1001                     move.b     D0, D1
  4646. 00002BB4  4A80                     tst.l      D0
  4647. 00002BB6  7202                     moveq.l    D1, 0x02
  4648. 00002BB8  C245                     and.w      D1, D5
  4649. 00002BBA  7400                     moveq.l    D2, 0x00
  4650. 00002BBC  3401                     move.w     D2, D1
  4651. 00002BBE  4A82                     tst.l      D2
  4652. 00002BC0  B480                     cmp.l      D2, D0
  4653. 00002BC2  670E                     beq        +0x10 /* 00002BD2 */
  4654. 00002BC4  1885                     move.b     [A4], D5
  4655. 00002BC6  6002                     bra        +0x4 /* 00002BCA */
  4656. 00002BC8  6008                     bra        +0xA /* 00002BD2 */
  4657. label00002BCA:
  4658. 00002BCA  3006                     move.w     D0, D6
  4659. 00002BCC  5346                     subq.w     D6, 1
  4660. 00002BCE  B646                     cmp.w      D3, D6
  4661. 00002BD0  6DD4                     blt        -0x2A /* 00002BA6 */
  4662. label00002BD2:
  4663. 00002BD2  26AE FFFC                move.l     [A3], [A6 - 0x4]
  4664. 00002BD6  43EE FFFB                lea.l      A1, [A6 - 0x5]
  4665. 00002BDA  2049                     movea.l    A0, A1
  4666. 00002BDC  1010                     move.b     D0, [A0]
  4667. 00002BDE  A05D                     syscall    SwapMMUMode
  4668. 00002BE0  1080                     move.b     [A0], D0
  4669. 00002BE2  303C E08E                move.w     D0, 0xE08E
  4670. 00002BE6  6000 01AA                bra        +0x1AC /* 00002D92 */
  4671. label00002BEA:
  4672. 00002BEA  0045 0002                ori.w      D5, 0x2
  4673. 00002BEE  3C3C 0BB8                move.w     D6, 0xBB8
  4674. 00002BF2  7600                     moveq.l    D3, 0x00
  4675. label00002BF4:
  4676. 00002BF4  7000                     moveq.l    D0, 0x00
  4677. 00002BF6  1014                     move.b     D0, [A4]
  4678. 00002BF8  4A80                     tst.l      D0
  4679. 00002BFA  7202                     moveq.l    D1, 0x02
  4680. 00002BFC  C200                     and.b      D1, D0
  4681. 00002BFE  7000                     moveq.l    D0, 0x00
  4682. 00002C00  1001                     move.b     D0, D1
  4683. 00002C02  4A80                     tst.l      D0
  4684. 00002C04  7202                     moveq.l    D1, 0x02
  4685. 00002C06  C245                     and.w      D1, D5
  4686. 00002C08  7400                     moveq.l    D2, 0x00
  4687. 00002C0A  3401                     move.w     D2, D1
  4688. 00002C0C  4A82                     tst.l      D2
  4689. 00002C0E  B480                     cmp.l      D2, D0
  4690. 00002C10  670E                     beq        +0x10 /* 00002C20 */
  4691. 00002C12  1885                     move.b     [A4], D5
  4692. 00002C14  6002                     bra        +0x4 /* 00002C18 */
  4693. 00002C16  6008                     bra        +0xA /* 00002C20 */
  4694. label00002C18:
  4695. 00002C18  3006                     move.w     D0, D6
  4696. 00002C1A  5346                     subq.w     D6, 1
  4697. 00002C1C  B646                     cmp.w      D3, D6
  4698. 00002C1E  6DD4                     blt        -0x2A /* 00002BF4 */
  4699. label00002C20:
  4700. 00002C20  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4701. 00002C24  5347                     subq.w     D7, 1
  4702. 00002C26  4A47                     tst.w      D7
  4703. 00002C28  6D04                     blt        +0x6 /* 00002C2E */
  4704. label00002C2A:
  4705. 00002C2A  51CF FFFE                dbf        D7, -0x4 /* 00002C2A */
  4706. label00002C2E:
  4707. 00002C2E  426E FFEC                clr.w      [A6 - 0x14]
  4708. 00002C32  3D7C 0007 FFEE           move.w     [A6 - 0x12], 0x7
  4709. 00002C38  7600                     moveq.l    D3, 0x00
  4710. label00002C3A:
  4711. 00002C3A  0245 FFFD                andi.w     D5, 0xFFFD
  4712. 00002C3E  3C3C 0BB8                move.w     D6, 0xBB8
  4713. label00002C42:
  4714. 00002C42  7000                     moveq.l    D0, 0x00
  4715. 00002C44  1014                     move.b     D0, [A4]
  4716. 00002C46  4A80                     tst.l      D0
  4717. 00002C48  7202                     moveq.l    D1, 0x02
  4718. 00002C4A  C200                     and.b      D1, D0
  4719. 00002C4C  7000                     moveq.l    D0, 0x00
  4720. 00002C4E  1001                     move.b     D0, D1
  4721. 00002C50  4A80                     tst.l      D0
  4722. 00002C52  7202                     moveq.l    D1, 0x02
  4723. 00002C54  C245                     and.w      D1, D5
  4724. 00002C56  7400                     moveq.l    D2, 0x00
  4725. 00002C58  3401                     move.w     D2, D1
  4726. 00002C5A  4A82                     tst.l      D2
  4727. 00002C5C  B480                     cmp.l      D2, D0
  4728. 00002C5E  670E                     beq        +0x10 /* 00002C6E */
  4729. 00002C60  1885                     move.b     [A4], D5
  4730. 00002C62  6002                     bra        +0x4 /* 00002C66 */
  4731. 00002C64  6008                     bra        +0xA /* 00002C6E */
  4732. label00002C66:
  4733. 00002C66  3006                     move.w     D0, D6
  4734. 00002C68  5346                     subq.w     D6, 1
  4735. 00002C6A  B646                     cmp.w      D3, D6
  4736. 00002C6C  6DD4                     blt        -0x2A /* 00002C42 */
  4737. label00002C6E:
  4738. 00002C6E  3E04                     move.w     D7, D4
  4739. 00002C70  5347                     subq.w     D7, 1
  4740. 00002C72  4A47                     tst.w      D7
  4741. 00002C74  6D04                     blt        +0x6 /* 00002C7A */
  4742. label00002C76:
  4743. 00002C76  51CF FFFE                dbf        D7, -0x4 /* 00002C76 */
  4744. label00002C7A:
  4745. 00002C7A  0045 0002                ori.w      D5, 0x2
  4746. 00002C7E  3C3C 0BB8                move.w     D6, 0xBB8
  4747. label00002C82:
  4748. 00002C82  7000                     moveq.l    D0, 0x00
  4749. 00002C84  1014                     move.b     D0, [A4]
  4750. 00002C86  4A80                     tst.l      D0
  4751. 00002C88  7202                     moveq.l    D1, 0x02
  4752. 00002C8A  C200                     and.b      D1, D0
  4753. 00002C8C  7000                     moveq.l    D0, 0x00
  4754. 00002C8E  1001                     move.b     D0, D1
  4755. 00002C90  4A80                     tst.l      D0
  4756. 00002C92  7202                     moveq.l    D1, 0x02
  4757. 00002C94  C245                     and.w      D1, D5
  4758. 00002C96  7400                     moveq.l    D2, 0x00
  4759. 00002C98  3401                     move.w     D2, D1
  4760. 00002C9A  4A82                     tst.l      D2
  4761. 00002C9C  B480                     cmp.l      D2, D0
  4762. 00002C9E  670E                     beq        +0x10 /* 00002CAE */
  4763. 00002CA0  1885                     move.b     [A4], D5
  4764. 00002CA2  6002                     bra        +0x4 /* 00002CA6 */
  4765. 00002CA4  6008                     bra        +0xA /* 00002CAE */
  4766. label00002CA6:
  4767. 00002CA6  3006                     move.w     D0, D6
  4768. 00002CA8  5346                     subq.w     D6, 1
  4769. 00002CAA  B646                     cmp.w      D3, D6
  4770. 00002CAC  6DD4                     blt        -0x2A /* 00002C82 */
  4771. label00002CAE:
  4772. 00002CAE  3E2E FFE8                move.w     D7, [A6 - 0x18]
  4773. 00002CB2  5347                     subq.w     D7, 1
  4774. 00002CB4  4A47                     tst.w      D7
  4775. 00002CB6  6D04                     blt        +0x6 /* 00002CBC */
  4776. label00002CB8:
  4777. 00002CB8  51CF FFFE                dbf        D7, -0x4 /* 00002CB8 */
  4778. label00002CBC:
  4779. 00002CBC  7000                     moveq.l    D0, 0x00
  4780. 00002CBE  1014                     move.b     D0, [A4]
  4781. 00002CC0  4A80                     tst.l      D0
  4782. 00002CC2  7201                     moveq.l    D1, 0x01
  4783. 00002CC4  C200                     and.b      D1, D0
  4784. 00002CC6  6704                     beq        +0x6 /* 00002CCC */
  4785. 00002CC8  7001                     moveq.l    D0, 0x01
  4786. 00002CCA  6002                     bra        +0x4 /* 00002CCE */
  4787. label00002CCC:
  4788. 00002CCC  7000                     moveq.l    D0, 0x00
  4789. label00002CCE:
  4790. 00002CCE  322E FFEE                move.w     D1, [A6 - 0x12]
  4791. 00002CD2  E3A8                     lsl        D0, D1
  4792. 00002CD4  816E FFEC                or.w       [A6 - 0x14], D0
  4793. 00002CD8  302E FFEE                move.w     D0, [A6 - 0x12]
  4794. 00002CDC  536E FFEE                subq.w     [A6 - 0x12], 1
  4795. 00002CE0  B66E FFEE                cmp.w      D3, [A6 - 0x12]
  4796. 00002CE4  6F00 FF54                ble        -0xAA /* 00002C3A */
  4797. 00002CE8  206E FFF2                movea.l    A0, [A6 - 0xE]
  4798. 00002CEC  30AE FFEC                move.w     [A0], [A6 - 0x14]
  4799. 00002CF0  0245 FFFD                andi.w     D5, 0xFFFD
  4800. 00002CF4  3C3C 0BB8                move.w     D6, 0xBB8
  4801. 00002CF8  7600                     moveq.l    D3, 0x00
  4802. label00002CFA:
  4803. 00002CFA  7000                     moveq.l    D0, 0x00
  4804. 00002CFC  1014                     move.b     D0, [A4]
  4805. 00002CFE  4A80                     tst.l      D0
  4806. 00002D00  7202                     moveq.l    D1, 0x02
  4807. 00002D02  C200                     and.b      D1, D0
  4808. 00002D04  7000                     moveq.l    D0, 0x00
  4809. 00002D06  1001                     move.b     D0, D1
  4810. 00002D08  4A80                     tst.l      D0
  4811. 00002D0A  7202                     moveq.l    D1, 0x02
  4812. 00002D0C  C245                     and.w      D1, D5
  4813. 00002D0E  7400                     moveq.l    D2, 0x00
  4814. 00002D10  3401                     move.w     D2, D1
  4815. 00002D12  4A82                     tst.l      D2
  4816. 00002D14  B480                     cmp.l      D2, D0
  4817. 00002D16  670E                     beq        +0x10 /* 00002D26 */
  4818. 00002D18  1885                     move.b     [A4], D5
  4819. 00002D1A  6002                     bra        +0x4 /* 00002D1E */
  4820. 00002D1C  6008                     bra        +0xA /* 00002D26 */
  4821. label00002D1E:
  4822. 00002D1E  3006                     move.w     D0, D6
  4823. 00002D20  5346                     subq.w     D6, 1
  4824. 00002D22  B646                     cmp.w      D3, D6
  4825. 00002D24  6DD4                     blt        -0x2A /* 00002CFA */
  4826. label00002D26:
  4827. 00002D26  0885 0000                bclr.b     D5, 0x0
  4828. 00002D2A  1885                     move.b     [A4], D5
  4829. 00002D2C  3E04                     move.w     D7, D4
  4830. 00002D2E  5347                     subq.w     D7, 1
  4831. 00002D30  4A47                     tst.w      D7
  4832. 00002D32  6D04                     blt        +0x6 /* 00002D38 */
  4833. label00002D34:
  4834. 00002D34  51CF FFFE                dbf        D7, -0x4 /* 00002D34 */
  4835. label00002D38:
  4836. 00002D38  0045 0002                ori.w      D5, 0x2
  4837. 00002D3C  3C3C 0BB8                move.w     D6, 0xBB8
  4838. 00002D40  7600                     moveq.l    D3, 0x00
  4839. label00002D42:
  4840. 00002D42  7000                     moveq.l    D0, 0x00
  4841. 00002D44  1014                     move.b     D0, [A4]
  4842. 00002D46  4A80                     tst.l      D0
  4843. 00002D48  7202                     moveq.l    D1, 0x02
  4844. 00002D4A  C200                     and.b      D1, D0
  4845. 00002D4C  7000                     moveq.l    D0, 0x00
  4846. 00002D4E  1001                     move.b     D0, D1
  4847. 00002D50  4A80                     tst.l      D0
  4848. 00002D52  7202                     moveq.l    D1, 0x02
  4849. 00002D54  C245                     and.w      D1, D5
  4850. 00002D56  7400                     moveq.l    D2, 0x00
  4851. 00002D58  3401                     move.w     D2, D1
  4852. 00002D5A  4A82                     tst.l      D2
  4853. 00002D5C  B480                     cmp.l      D2, D0
  4854. 00002D5E  670E                     beq        +0x10 /* 00002D6E */
  4855. 00002D60  1885                     move.b     [A4], D5
  4856. 00002D62  6002                     bra        +0x4 /* 00002D66 */
  4857. 00002D64  6008                     bra        +0xA /* 00002D6E */
  4858. label00002D66:
  4859. 00002D66  3006                     move.w     D0, D6
  4860. 00002D68  5346                     subq.w     D6, 1
  4861. 00002D6A  B646                     cmp.w      D3, D6
  4862. 00002D6C  6DD4                     blt        -0x2A /* 00002D42 */
  4863. label00002D6E:
  4864. 00002D6E  3E04                     move.w     D7, D4
  4865. 00002D70  5347                     subq.w     D7, 1
  4866. 00002D72  4A47                     tst.w      D7
  4867. 00002D74  6D04                     blt        +0x6 /* 00002D7A */
  4868. label00002D76:
  4869. 00002D76  51CF FFFE                dbf        D7, -0x4 /* 00002D76 */
  4870. label00002D7A:
  4871. 00002D7A  0045 0001                ori.w      D5, 0x1
  4872. 00002D7E  1885                     move.b     [A4], D5
  4873. 00002D80  26AE FFFC                move.l     [A3], [A6 - 0x4]
  4874. 00002D84  43EE FFFB                lea.l      A1, [A6 - 0x5]
  4875. 00002D88  2049                     movea.l    A0, A1
  4876. 00002D8A  1010                     move.b     D0, [A0]
  4877. 00002D8C  A05D                     syscall    SwapMMUMode
  4878. 00002D8E  1080                     move.b     [A0], D0
  4879. 00002D90  7000                     moveq.l    D0, 0x00
  4880. label00002D92:
  4881. 00002D92  4CEE 18F8 FFCC           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x34]
  4882. 00002D98  4E5E                     unlink     A6
  4883. 00002D9A  4E75                     rts
  4884. 00002D9C  4E56 FF88                link       A6, -0x0078
  4885. 00002DA0  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  4886. 00002DA4  206E 0008                movea.l    A0, [A6 + 0x8]
  4887. 00002DA8  4AA8 0014                tst.l      [A0 + 0x14]
  4888. 00002DAC  6708                     beq        +0xA /* 00002DB6 */
  4889. 00002DAE  426E 0010                clr.w      [A6 + 0x10]
  4890. 00002DB2  6000 01E0                bra        +0x1E2 /* 00002F94 */
  4891. label00002DB6:
  4892. 00002DB6  7044                     moveq.l    D0, 0x44
  4893. 00002DB8  A440                     syscall    ReserveMemSys, flags=4
  4894. 00002DBA  7044                     moveq.l    D0, 0x44
  4895. 00002DBC  A522                     syscall    NewHandleSys, flags=5
  4896. 00002DBE  226E 0008                movea.l    A1, [A6 + 0x8]
  4897. 00002DC2  2348 0014                move.l     [A1 + 0x14], A0
  4898. 00002DC6  660A                     bne        +0xC /* 00002DD2 */
  4899. 00002DC8  3D7C FFE9 0010           move.w     [A6 + 0x10], 0xFFE9
  4900. 00002DCE  6000 01C4                bra        +0x1C6 /* 00002F94 */
  4901. label00002DD2:
  4902. 00002DD2  226E 0008                movea.l    A1, [A6 + 0x8]
  4903. 00002DD6  2069 0014                movea.l    A0, [A1 + 0x14]
  4904. 00002DDA  A029                     syscall    HLock
  4905. 00002DDC  206E 0008                movea.l    A0, [A6 + 0x8]
  4906. 00002DE0  2068 0014                movea.l    A0, [A0 + 0x14]
  4907. 00002DE4  2650                     movea.l    A3, [A0]
  4908. 00002DE6  4253                     clr.w      [A3]
  4909. 00002DE8  426B 0002                clr.w      [A3 + 0x2]
  4910. 00002DEC  4247                     clr.w      D7
  4911. 00002DEE  7610                     moveq.l    D3, 0x10
  4912. label00002DF0:
  4913. 00002DF0  48C7                     ext.l      D7
  4914. 00002DF2  7000                     moveq.l    D0, 0x00
  4915. 00002DF4  2780 7C04                move.l     [A3 + D7 * 4 + 0x4], D0
  4916. 00002DF8  3007                     move.w     D0, D7
  4917. 00002DFA  5247                     addq.w     D7, 1
  4918. 00002DFC  B647                     cmp.w      D3, D7
  4919. 00002DFE  6EF0                     bgt        -0xE /* 00002DF0 */
  4920. 00002E00  4247                     clr.w      D7
  4921. 00002E02  7610                     moveq.l    D3, 0x10
  4922. label00002E04:
  4923. 00002E04  2007                     move.l     D0, D7
  4924. 00002E06  E540                     asl        D0.w, 2
  4925. 00002E08  4276 00C0                clr.w      [A6 + D0.w - 0x64]
  4926. 00002E0C  2007                     move.l     D0, D7
  4927. 00002E0E  E540                     asl        D0.w, 2
  4928. 00002E10  4276 00C2                clr.w      [A6 + D0.w - 0x62]
  4929. 00002E14  3007                     move.w     D0, D7
  4930. 00002E16  5247                     addq.w     D7, 1
  4931. 00002E18  B647                     cmp.w      D3, D7
  4932. 00002E1A  6EE8                     bgt        -0x16 /* 00002E04 */
  4933. 00002E1C  422E FFB9                clr.b      [A6 - 0x47]
  4934. 00002E20  422E FFBA                clr.b      [A6 - 0x46]
  4935. 00002E24  422E FFBB                clr.b      [A6 - 0x45]
  4936. 00002E28  1D7C 0001 FFB8           move.b     [A6 - 0x48], 0x1
  4937. 00002E2E  3D7C 0003 FFB0           move.w     [A6 - 0x50], 0x3
  4938. 00002E34  3D7C 0001 FFB2           move.w     [A6 - 0x4E], 0x1
  4939. 00002E3A  3D7C 0001 FFB4           move.w     [A6 - 0x4C], 0x1
  4940. 00002E40  6024                     bra        +0x26 /* 00002E66 */
  4941. label00002E42:
  4942. 00002E42  0C6E 02AD FFB6           cmpi.w     [A6 - 0x4A], 0x2AD
  4943. 00002E48  661C                     bne        +0x1E /* 00002E66 */
  4944. 00002E4A  102E FFB9                move.b     D0, [A6 - 0x47]
  4945. 00002E4E  4880                     ext.w      D0
  4946. 00002E50  E540                     asl        D0.w, 2
  4947. 00002E52  3DAE FFAE 00C0           move.w     [A6 + D0.w - 0x64], [A6 - 0x52]
  4948. 00002E58  102E FFB9                move.b     D0, [A6 - 0x47]
  4949. 00002E5C  4880                     ext.w      D0
  4950. 00002E5E  E540                     asl        D0.w, 2
  4951. 00002E60  3DAE FFB6 00C2           move.w     [A6 + D0.w - 0x62], [A6 - 0x4A]
  4952. label00002E66:
  4953. 00002E66  43EE FF88                lea.l      A1, [A6 - 0x78]
  4954. 00002E6A  2049                     movea.l    A0, A1
  4955. 00002E6C  7015                     moveq.l    D0, 0x15
  4956. 00002E6E  A06E                     syscall    SlotManager
  4957. 00002E70  4A40                     tst.w      D0
  4958. 00002E72  67CE                     beq        -0x30 /* 00002E42 */
  4959. 00002E74  4247                     clr.w      D7
  4960. label00002E76:
  4961. 00002E76  2007                     move.l     D0, D7
  4962. 00002E78  E540                     asl        D0.w, 2
  4963. 00002E7A  4A76 00C0                tst.w      [A6 + D0.w - 0x64]
  4964. 00002E7E  6700 00D4                beq        +0xD6 /* 00002F54 */
  4965. 00002E82  203C 0000 0148           move.l     D0, 0x148
  4966. 00002E88  A440                     syscall    ReserveMemSys, flags=4
  4967. 00002E8A  203C 0000 0148           move.l     D0, 0x148
  4968. 00002E90  A522                     syscall    NewHandleSys, flags=5
  4969. 00002E92  3013                     move.w     D0, [A3]
  4970. 00002E94  48C0                     ext.l      D0
  4971. 00002E96  2788 0C04                move.l     [A3 + D0 * 4 + 0x4], A0
  4972. 00002E9A  6700 00C4                beq        +0xC6 /* 00002F60 */
  4973. 00002E9E  3013                     move.w     D0, [A3]
  4974. 00002EA0  48C0                     ext.l      D0
  4975. 00002EA2  2073 0C04                movea.l    A0, [A3 + D0 * 4 + 0x4]
  4976. 00002EA6  A029                     syscall    HLock
  4977. 00002EA8  3013                     move.w     D0, [A3]
  4978. 00002EAA  48C0                     ext.l      D0
  4979. 00002EAC  2073 0C04                movea.l    A0, [A3 + D0 * 4 + 0x4]
  4980. 00002EB0  2850                     movea.l    A4, [A0]
  4981. 00002EB2  3007                     move.w     D0, D7
  4982. 00002EB4  807C 00F0                or.w       D0, 0xF0
  4983. 00002EB8  7218                     moveq.l    D1, 0x18
  4984. 00002EBA  E3A8                     lsl        D0, D1
  4985. 00002EBC  2880                     move.l     [A4], D0
  4986. 00002EBE  2007                     move.l     D0, D7
  4987. 00002EC0  E540                     asl        D0.w, 2
  4988. 00002EC2  3976 00C0 0004           move.w     [A4 + 0x4], [A6 + D0.w - 0x64]
  4989. 00002EC8  598F                     subq.l     A7, 4
  4990. 00002ECA  3F2C 0004                move.w     -[A7], [A4 + 0x4]
  4991. 00002ECE  4EBA 3086                jsr        [PC + 0x3086 /* 00005F56 */]
  4992. 00002ED2  295F 0006                move.l     [A4 + 0x6], [A7]+
  4993. 00002ED6  206C 0006                movea.l    A0, [A4 + 0x6]
  4994. 00002EDA  2050                     movea.l    A0, [A0]
  4995. 00002EDC  2968 0014 000A           move.l     [A4 + 0xA], [A0 + 0x14]
  4996. 00002EE2  426C 0146                clr.w      [A4 + 0x146]
  4997. 00002EE6  1D47 FFB9                move.b     [A6 - 0x47], D7
  4998. 00002EEA  1D7C 0001 FFBA           move.b     [A6 - 0x46], 0x1
  4999. 00002EF0  422E FFBB                clr.b      [A6 - 0x45]
  5000. 00002EF4  43EE FF88                lea.l      A1, [A6 - 0x78]
  5001. 00002EF8  2049                     movea.l    A0, A1
  5002. 00002EFA  7016                     moveq.l    D0, 0x16
  5003. 00002EFC  A06E                     syscall    SlotManager
  5004. 00002EFE  4A40                     tst.w      D0
  5005. 00002F00  6638                     bne        +0x3A /* 00002F3A */
  5006. 00002F02  1D7C 0024 FFBA           move.b     [A6 - 0x46], 0x24 /* '$' */
  5007. 00002F08  43EE FF88                lea.l      A1, [A6 - 0x78]
  5008. 00002F0C  2049                     movea.l    A0, A1
  5009. 00002F0E  7006                     moveq.l    D0, 0x06
  5010. 00002F10  A06E                     syscall    SlotManager
  5011. 00002F12  4A40                     tst.w      D0
  5012. 00002F14  6624                     bne        +0x26 /* 00002F3A */
  5013. 00002F16  1D7C 0004 FFBA           move.b     [A6 - 0x46], 0x4
  5014. 00002F1C  43EE FF88                lea.l      A1, [A6 - 0x78]
  5015. 00002F20  2049                     movea.l    A0, A1
  5016. 00002F22  7003                     moveq.l    D0, 0x03
  5017. 00002F24  A06E                     syscall    SlotManager
  5018. 00002F26  4A40                     tst.w      D0
  5019. 00002F28  6610                     bne        +0x12 /* 00002F3A */
  5020. 00002F2A  206E FF88                movea.l    A0, [A6 - 0x78]
  5021. 00002F2E  7000                     moveq.l    D0, 0x00
  5022. 00002F30  1028 0005                move.b     D0, [A0 + 0x5]
  5023. 00002F34  4A80                     tst.l      D0
  5024. 00002F36  3940 0146                move.w     [A4 + 0x146], D0
  5025. label00002F3A:
  5026. 00002F3A  2007                     move.l     D0, D7
  5027. 00002F3C  E540                     asl        D0.w, 2
  5028. 00002F3E  3976 00C2 0028           move.w     [A4 + 0x28], [A6 + D0.w - 0x62]
  5029. 00002F44  426C 002A                clr.w      [A4 + 0x2A]
  5030. 00002F48  3013                     move.w     D0, [A3]
  5031. 00002F4A  48C0                     ext.l      D0
  5032. 00002F4C  2073 0C04                movea.l    A0, [A3 + D0 * 4 + 0x4]
  5033. 00002F50  A02A                     syscall    HUnlock
  5034. 00002F52  5253                     addq.w     [A3], 1
  5035. label00002F54:
  5036. 00002F54  3007                     move.w     D0, D7
  5037. 00002F56  5247                     addq.w     D7, 1
  5038. 00002F58  0C47 0010                cmpi.w     D7, 0x10
  5039. 00002F5C  6D00 FF18                blt        -0xE6 /* 00002E76 */
  5040. label00002F60:
  5041. 00002F60  4A53                     tst.w      [A3]
  5042. 00002F62  6F06                     ble        +0x8 /* 00002F6A */
  5043. 00002F64  426B 0002                clr.w      [A3 + 0x2]
  5044. 00002F68  601C                     bra        +0x1E /* 00002F86 */
  5045. label00002F6A:
  5046. 00002F6A  226E 0008                movea.l    A1, [A6 + 0x8]
  5047. 00002F6E  2069 0014                movea.l    A0, [A1 + 0x14]
  5048. 00002F72  A02A                     syscall    HUnlock
  5049. 00002F74  226E 0008                movea.l    A1, [A6 + 0x8]
  5050. 00002F78  2069 0014                movea.l    A0, [A1 + 0x14]
  5051. 00002F7C  A023                     syscall    DisposHandle/DisposeHandle
  5052. 00002F7E  3D7C FFE9 0010           move.w     [A6 + 0x10], 0xFFE9
  5053. 00002F84  600E                     bra        +0x10 /* 00002F94 */
  5054. label00002F86:
  5055. 00002F86  226E 0008                movea.l    A1, [A6 + 0x8]
  5056. 00002F8A  2069 0014                movea.l    A0, [A1 + 0x14]
  5057. 00002F8E  A02A                     syscall    HUnlock
  5058. 00002F90  426E 0010                clr.w      [A6 + 0x10]
  5059. label00002F94:
  5060. 00002F94  4CEE 1888 FF78           movem.l    D3,D7,A3,A4, [A6 - 0x88]
  5061. 00002F9A  4E5E                     unlink     A6
  5062. 00002F9C  4E74 0008                rtd        0x0008
  5063. 00002FA0  4E56 0000                link       A6, 0
  5064. 00002FA4  426E 0010                clr.w      [A6 + 0x10]
  5065. 00002FA8  4E5E                     unlink     A6
  5066. 00002FAA  4E74 0008                rtd        0x0008
  5067. 00002FAE  4E56 0000                link       A6, 0
  5068. 00002FB2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  5069. 00002FB6  4EBA 000C                jsr        [PC + 0xC /* 00002FC4 */]
  5070. 00002FBA  426E 0010                clr.w      [A6 + 0x10]
  5071. 00002FBE  4E5E                     unlink     A6
  5072. 00002FC0  4E74 0008                rtd        0x0008
  5073. fn00002FC4:
  5074. 00002FC4  4E56 0000                link       A6, 0
  5075. 00002FC8  48E7 0118                movem.l    -[A7], D7,A3,A4
  5076. 00002FCC  266E 0008                movea.l    A3, [A6 + 0x8]
  5077. 00002FD0  2053                     movea.l    A0, [A3]
  5078. 00002FD2  A126                     syscall    HandleZone, flags=1
  5079. 00002FD4  B1F8 02A6                cmpa.l     A0, [0x000002A6 /* SysZone */]
  5080. 00002FD8  673A                     beq        +0x3C /* 00003014 */
  5081. 00002FDA  206B 0014                movea.l    A0, [A3 + 0x14]
  5082. 00002FDE  A029                     syscall    HLock
  5083. 00002FE0  206B 0014                movea.l    A0, [A3 + 0x14]
  5084. 00002FE4  2850                     movea.l    A4, [A0]
  5085. 00002FE6  4247                     clr.w      D7
  5086. 00002FE8  6014                     bra        +0x16 /* 00002FFE */
  5087. label00002FEA:
  5088. 00002FEA  48C7                     ext.l      D7
  5089. 00002FEC  4AB4 7C04                tst.l      [A4 + D7 * 4 + 0x4]
  5090. 00002FF0  6708                     beq        +0xA /* 00002FFA */
  5091. 00002FF2  48C7                     ext.l      D7
  5092. 00002FF4  2074 7C04                movea.l    A0, [A4 + D7 * 4 + 0x4]
  5093. 00002FF8  A023                     syscall    DisposHandle/DisposeHandle
  5094. label00002FFA:
  5095. 00002FFA  3007                     move.w     D0, D7
  5096. 00002FFC  5247                     addq.w     D7, 1
  5097. label00002FFE:
  5098. 00002FFE  BE54                     cmp.w      D7, [A4]
  5099. 00003000  6DE8                     blt        -0x16 /* 00002FEA */
  5100. 00003002  206B 0014                movea.l    A0, [A3 + 0x14]
  5101. 00003006  A02A                     syscall    HUnlock
  5102. 00003008  206B 0014                movea.l    A0, [A3 + 0x14]
  5103. 0000300C  A023                     syscall    DisposHandle/DisposeHandle
  5104. 0000300E  7000                     moveq.l    D0, 0x00
  5105. 00003010  2740 0014                move.l     [A3 + 0x14], D0
  5106. label00003014:
  5107. 00003014  4CEE 1880 FFF4           movem.l    D7,A3,A4, [A6 - 0xC]
  5108. 0000301A  4E5E                     unlink     A6
  5109. 0000301C  4E75                     rts
  5110. 0000301E  4E56 FFB2                link       A6, -0x004E
  5111. 00003022  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  5112. 00003026  266E 000C                movea.l    A3, [A6 + 0xC]
  5113. 0000302A  4245                     clr.w      D5
  5114. 0000302C  226E 0008                movea.l    A1, [A6 + 0x8]
  5115. 00003030  2069 0014                movea.l    A0, [A1 + 0x14]
  5116. 00003034  A029                     syscall    HLock
  5117. 00003036  206E 0008                movea.l    A0, [A6 + 0x8]
  5118. 0000303A  2068 0014                movea.l    A0, [A0 + 0x14]
  5119. 0000303E  2D50 FFC2                move.l     [A6 - 0x3E], [A0]
  5120. 00003042  226E FFC2                movea.l    A1, [A6 - 0x3E]
  5121. 00003046  3029 0002                move.w     D0, [A1 + 0x2]
  5122. 0000304A  48C0                     ext.l      D0
  5123. 0000304C  226E FFC2                movea.l    A1, [A6 - 0x3E]
  5124. 00003050  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  5125. 00003054  A029                     syscall    HLock
  5126. 00003056  206E FFC2                movea.l    A0, [A6 - 0x3E]
  5127. 0000305A  3028 0002                move.w     D0, [A0 + 0x2]
  5128. 0000305E  48C0                     ext.l      D0
  5129. 00003060  206E FFC2                movea.l    A0, [A6 - 0x3E]
  5130. 00003064  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  5131. 00003068  2850                     movea.l    A4, [A0]
  5132. 0000306A  206C 000A                movea.l    A0, [A4 + 0xA]
  5133. 0000306E  2D50 FFC6                move.l     [A6 - 0x3A], [A0]
  5134. 00003072  4245                     clr.w      D5
  5135. 00003074  2E14                     move.l     D7, [A4]
  5136. 00003076  2007                     move.l     D0, D7
  5137. 00003078  D0BC 00FE 6007           add.l      D0, 0xFE6007
  5138. 0000307E  2D40 FFCC                move.l     [A6 - 0x34], D0
  5139. 00003082  2007                     move.l     D0, D7
  5140. 00003084  D0BC 00FE 601B           add.l      D0, 0xFE601B
  5141. 0000308A  2D40 FFD0                move.l     [A6 - 0x30], D0
  5142. 0000308E  2007                     move.l     D0, D7
  5143. 00003090  D0BC 00FE 7018           add.l      D0, 0xFE7018
  5144. 00003096  2D40 FFD4                move.l     [A6 - 0x2C], D0
  5145. 0000309A  2007                     move.l     D0, D7
  5146. 0000309C  D0BC 00FE 7000           add.l      D0, 0xFE7000
  5147. 000030A2  2D40 FFD8                move.l     [A6 - 0x28], D0
  5148. 000030A6  2007                     move.l     D0, D7
  5149. 000030A8  D0BC 00FE 7004           add.l      D0, 0xFE7004
  5150. 000030AE  2D40 FFDC                move.l     [A6 - 0x24], D0
  5151. 000030B2  2007                     move.l     D0, D7
  5152. 000030B4  D0BC 00FE 7008           add.l      D0, 0xFE7008
  5153. 000030BA  2D40 FFE0                move.l     [A6 - 0x20], D0
  5154. 000030BE  302B 001A                move.w     D0, [A3 + 0x1A]
  5155. 000030C2  5240                     addq.w     D0, 1
  5156. 000030C4  6700 2066                beq        +0x2068 /* 0000512C */
  5157. 000030C8  0440 2329                subi.w     D0, 0x2329 /* '#)' */
  5158. 000030CC  6700 00EA                beq        +0xEC /* 000031B8 */
  5159. 000030D0  5340                     subq.w     D0, 1
  5160. 000030D2  6700 0140                beq        +0x142 /* 00003214 */
  5161. 000030D6  5340                     subq.w     D0, 1
  5162. 000030D8  6700 0182                beq        +0x184 /* 0000325C */
  5163. 000030DC  5740                     subq.w     D0, 3
  5164. 000030DE  6700 01BC                beq        +0x1BE /* 0000329C */
  5165. 000030E2  5340                     subq.w     D0, 1
  5166. 000030E4  6700 0294                beq        +0x296 /* 0000337A */
  5167. 000030E8  5340                     subq.w     D0, 1
  5168. 000030EA  6700 02D0                beq        +0x2D2 /* 000033BC */
  5169. 000030EE  5B40                     subq.w     D0, 5
  5170. 000030F0  6700 031A                beq        +0x31C /* 0000340C */
  5171. 000030F4  5740                     subq.w     D0, 3
  5172. 000030F6  6700 0CE2                beq        +0xCE4 /* 00003DDA */
  5173. 000030FA  5340                     subq.w     D0, 1
  5174. 000030FC  6700 0EC6                beq        +0xEC8 /* 00003FC4 */
  5175. 00003100  5740                     subq.w     D0, 3
  5176. 00003102  6700 0F04                beq        +0xF06 /* 00004008 */
  5177. 00003106  5340                     subq.w     D0, 1
  5178. 00003108  6700 0F26                beq        +0xF28 /* 00004030 */
  5179. 0000310C  5340                     subq.w     D0, 1
  5180. 0000310E  6700 0F48                beq        +0xF4A /* 00004058 */
  5181. 00003112  5740                     subq.w     D0, 3
  5182. 00003114  6700 0F6A                beq        +0xF6C /* 00004080 */
  5183. 00003118  5340                     subq.w     D0, 1
  5184. 0000311A  6700 0F88                beq        +0xF8A /* 000040A4 */
  5185. 0000311E  5340                     subq.w     D0, 1
  5186. 00003120  6700 1078                beq        +0x107A /* 0000419A */
  5187. 00003124  5340                     subq.w     D0, 1
  5188. 00003126  6700 1274                beq        +0x1276 /* 0000439C */
  5189. 0000312A  5340                     subq.w     D0, 1
  5190. 0000312C  6700 1288                beq        +0x128A /* 000043B6 */
  5191. 00003130  5340                     subq.w     D0, 1
  5192. 00003132  6700 137E                beq        +0x1380 /* 000044B2 */
  5193. 00003136  5740                     subq.w     D0, 3
  5194. 00003138  6700 148A                beq        +0x148C /* 000045C4 */
  5195. 0000313C  5340                     subq.w     D0, 1
  5196. 0000313E  6700 150A                beq        +0x150C /* 0000464A */
  5197. 00003142  5340                     subq.w     D0, 1
  5198. 00003144  6700 1554                beq        +0x1556 /* 0000469A */
  5199. 00003148  5340                     subq.w     D0, 1
  5200. 0000314A  6700 1624                beq        +0x1626 /* 00004770 */
  5201. 0000314E  5740                     subq.w     D0, 3
  5202. 00003150  6700 16A2                beq        +0x16A4 /* 000047F4 */
  5203. 00003154  5540                     subq.w     D0, 2
  5204. 00003156  6700 19F4                beq        +0x19F6 /* 00004B4C */
  5205. 0000315A  5340                     subq.w     D0, 1
  5206. 0000315C  6700 1A66                beq        +0x1A68 /* 00004BC4 */
  5207. 00003160  5340                     subq.w     D0, 1
  5208. 00003162  6700 1AC2                beq        +0x1AC4 /* 00004C26 */
  5209. 00003166  5340                     subq.w     D0, 1
  5210. 00003168  6700 1B0E                beq        +0x1B10 /* 00004C78 */
  5211. 0000316C  5340                     subq.w     D0, 1
  5212. 0000316E  6700 1B32                beq        +0x1B34 /* 00004CA2 */
  5213. 00003172  5540                     subq.w     D0, 2
  5214. 00003174  6700 1BC4                beq        +0x1BC6 /* 00004D3A */
  5215. 00003178  5340                     subq.w     D0, 1
  5216. 0000317A  6700 1BE8                beq        +0x1BEA /* 00004D64 */
  5217. 0000317E  5340                     subq.w     D0, 1
  5218. 00003180  6700 1C0C                beq        +0x1C0E /* 00004D8E */
  5219. 00003184  5340                     subq.w     D0, 1
  5220. 00003186  6700 1C6C                beq        +0x1C6E /* 00004DF4 */
  5221. 0000318A  5340                     subq.w     D0, 1
  5222. 0000318C  6700 1CB8                beq        +0x1CBA /* 00004E46 */
  5223. 00003190  5540                     subq.w     D0, 2
  5224. 00003192  6700 1CFA                beq        +0x1CFC /* 00004E8E */
  5225. 00003196  5340                     subq.w     D0, 1
  5226. 00003198  6700 1D56                beq        +0x1D58 /* 00004EF0 */
  5227. 0000319C  5340                     subq.w     D0, 1
  5228. 0000319E  6700 1D8A                beq        +0x1D8C /* 00004F2A */
  5229. 000031A2  5340                     subq.w     D0, 1
  5230. 000031A4  6700 1DDC                beq        +0x1DDE /* 00004F82 */
  5231. 000031A8  5340                     subq.w     D0, 1
  5232. 000031AA  6700 1E2E                beq        +0x1E30 /* 00004FDA */
  5233. 000031AE  5940                     subq.w     D0, 4
  5234. 000031B0  6700 1E7C                beq        +0x1E7E /* 0000502E */
  5235. 000031B4  6000 1F82                bra        +0x1F84 /* 00005138 */
  5236. label000031B8:
  5237. 000031B8  206E FFC6                movea.l    A0, [A6 - 0x3A]
  5238. 000031BC  7000                     moveq.l    D0, 0x00
  5239. 000031BE  3028 0708                move.w     D0, [A0 + 0x708]
  5240. 000031C2  4A80                     tst.l      D0
  5241. 000031C4  0C80 0000 0084           cmpi.l     D0, 0x84
  5242. 000031CA  6628                     bne        +0x2A /* 000031F4 */
  5243. 000031CC  206E FFC6                movea.l    A0, [A6 - 0x3A]
  5244. 000031D0  7000                     moveq.l    D0, 0x00
  5245. 000031D2  3028 0708                move.w     D0, [A0 + 0x708]
  5246. 000031D6  4A80                     tst.l      D0
  5247. 000031D8  2F00                     move.l     -[A7], D0
  5248. 000031DA  202B 001C                move.l     D0, [A3 + 0x1C]
  5249. 000031DE  80BC 8000 0000           or.l       D0, 0x80000000
  5250. 000031E4  2F00                     move.l     -[A7], D0
  5251. 000031E6  2F07                     move.l     -[A7], D7
  5252. 000031E8  4EBA CEE8                jsr        [PC - 0x3118 /* 000000D2 */]
  5253. 000031EC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5254. 000031F0  6000 1F48                bra        +0x1F4A /* 0000513A */
  5255. label000031F4:
  5256. 000031F4  206E FFC6                movea.l    A0, [A6 - 0x3A]
  5257. 000031F8  7000                     moveq.l    D0, 0x00
  5258. 000031FA  3028 0708                move.w     D0, [A0 + 0x708]
  5259. 000031FE  4A80                     tst.l      D0
  5260. 00003200  2F00                     move.l     -[A7], D0
  5261. 00003202  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  5262. 00003206  2F07                     move.l     -[A7], D7
  5263. 00003208  4EBA CEC8                jsr        [PC - 0x3138 /* 000000D2 */]
  5264. 0000320C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5265. 00003210  6000 1F28                bra        +0x1F2A /* 0000513A */
  5266. label00003214:
  5267. 00003214  7001                     moveq.l    D0, 0x01
  5268. 00003216  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  5269. 0000321A  6718                     beq        +0x1A /* 00003234 */
  5270. 0000321C  7002                     moveq.l    D0, 0x02
  5271. 0000321E  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  5272. 00003222  6710                     beq        +0x12 /* 00003234 */
  5273. 00003224  7004                     moveq.l    D0, 0x04
  5274. 00003226  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  5275. 0000322A  6708                     beq        +0xA /* 00003234 */
  5276. 0000322C  7008                     moveq.l    D0, 0x08
  5277. 0000322E  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  5278. 00003232  6620                     bne        +0x22 /* 00003254 */
  5279. label00003234:
  5280. 00003234  2F2E FFC6                move.l     -[A7], [A6 - 0x3A]
  5281. 00003238  302B 001E                move.w     D0, [A3 + 0x1E]
  5282. 0000323C  48C0                     ext.l      D0
  5283. 0000323E  2F00                     move.l     -[A7], D0
  5284. 00003240  302B 001C                move.w     D0, [A3 + 0x1C]
  5285. 00003244  48C0                     ext.l      D0
  5286. 00003246  2F00                     move.l     -[A7], D0
  5287. 00003248  4EBA D122                jsr        [PC - 0x2EDE /* 0000036C */]
  5288. 0000324C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5289. 00003250  6000 1EE8                bra        +0x1EEA /* 0000513A */
  5290. label00003254:
  5291. 00003254  3A3C E0BF                move.w     D5, 0xE0BF
  5292. 00003258  6000 1EE0                bra        +0x1EE2 /* 0000513A */
  5293. label0000325C:
  5294. 0000325C  0C6B 0400 001C           cmpi.w     [A3 + 0x1C], 0x400
  5295. 00003262  6C30                     bge        +0x32 /* 00003294 */
  5296. 00003264  0C6B 0200 001E           cmpi.w     [A3 + 0x1E], 0x200
  5297. 0000326A  6C28                     bge        +0x2A /* 00003294 */
  5298. 0000326C  2F2E FFC6                move.l     -[A7], [A6 - 0x3A]
  5299. 00003270  302B 0020                move.w     D0, [A3 + 0x20]
  5300. 00003274  48C0                     ext.l      D0
  5301. 00003276  2F00                     move.l     -[A7], D0
  5302. 00003278  302B 001E                move.w     D0, [A3 + 0x1E]
  5303. 0000327C  48C0                     ext.l      D0
  5304. 0000327E  2F00                     move.l     -[A7], D0
  5305. 00003280  302B 001C                move.w     D0, [A3 + 0x1C]
  5306. 00003284  48C0                     ext.l      D0
  5307. 00003286  2F00                     move.l     -[A7], D0
  5308. 00003288  4EBA D2BE                jsr        [PC - 0x2D42 /* 00000548 */]
  5309. 0000328C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5310. 00003290  6000 1EA8                bra        +0x1EAA /* 0000513A */
  5311. label00003294:
  5312. 00003294  3A3C E0BE                move.w     D5, 0xE0BE
  5313. 00003298  6000 1EA0                bra        +0x1EA2 /* 0000513A */
  5314. label0000329C:
  5315. 0000329C  2F07                     move.l     -[A7], D7
  5316. 0000329E  4EBA D718                jsr        [PC - 0x28E8 /* 000009B8 */]
  5317. 000032A2  3800                     move.w     D4, D0
  5318. 000032A4  7062                     moveq.l    D0, 0x62
  5319. 000032A6  B06C 0146                cmp.w      D0, [A4 + 0x146]
  5320. 000032AA  584F                     addq.w     A7, 4
  5321. 000032AC  664A                     bne        +0x4C /* 000032F8 */
  5322. 000032AE  4A6C 0026                tst.w      [A4 + 0x26]
  5323. 000032B2  6622                     bne        +0x24 /* 000032D6 */
  5324. 000032B4  2F0C                     move.l     -[A7], A4
  5325. 000032B6  4A6B 001C                tst.w      [A3 + 0x1C]
  5326. 000032BA  6704                     beq        +0x6 /* 000032C0 */
  5327. 000032BC  7021                     moveq.l    D0, 0x21
  5328. 000032BE  6002                     bra        +0x4 /* 000032C2 */
  5329. label000032C0:
  5330. 000032C0  7011                     moveq.l    D0, 0x11
  5331. label000032C2:
  5332. 000032C2  2F00                     move.l     -[A7], D0
  5333. 000032C4  700A                     moveq.l    D0, 0x0A
  5334. 000032C6  2F00                     move.l     -[A7], D0
  5335. 000032C8  4878 008A                push.l     0x8A
  5336. 000032CC  4EBA E2C8                jsr        [PC - 0x1D38 /* 00001596 */]
  5337. 000032D0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5338. 000032D4  607E                     bra        +0x80 /* 00003354 */
  5339. label000032D6:
  5340. 000032D6  2F0C                     move.l     -[A7], A4
  5341. 000032D8  4A6B 001C                tst.w      [A3 + 0x1C]
  5342. 000032DC  6704                     beq        +0x6 /* 000032E2 */
  5343. 000032DE  7020                     moveq.l    D0, 0x20
  5344. 000032E0  6002                     bra        +0x4 /* 000032E4 */
  5345. label000032E2:
  5346. 000032E2  7010                     moveq.l    D0, 0x10
  5347. label000032E4:
  5348. 000032E4  2F00                     move.l     -[A7], D0
  5349. 000032E6  700A                     moveq.l    D0, 0x0A
  5350. 000032E8  2F00                     move.l     -[A7], D0
  5351. 000032EA  4878 008A                push.l     0x8A
  5352. 000032EE  4EBA E2A6                jsr        [PC - 0x1D5A /* 00001596 */]
  5353. 000032F2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5354. 000032F6  605C                     bra        +0x5E /* 00003354 */
  5355. label000032F8:
  5356. 000032F8  2F0C                     move.l     -[A7], A4
  5357. 000032FA  4A6B 001C                tst.w      [A3 + 0x1C]
  5358. 000032FE  6704                     beq        +0x6 /* 00003304 */
  5359. 00003300  7078                     moveq.l    D0, 0x78
  5360. 00003302  6002                     bra        +0x4 /* 00003306 */
  5361. label00003304:
  5362. 00003304  707A                     moveq.l    D0, 0x7A
  5363. label00003306:
  5364. 00003306  2F00                     move.l     -[A7], D0
  5365. 00003308  700E                     moveq.l    D0, 0x0E
  5366. 0000330A  2F00                     move.l     -[A7], D0
  5367. 0000330C  4878 008A                push.l     0x8A
  5368. 00003310  4EBA E284                jsr        [PC - 0x1D7C /* 00001596 */]
  5369. 00003314  2F0C                     move.l     -[A7], A4
  5370. 00003316  7000                     moveq.l    D0, 0x00
  5371. 00003318  102C 0032                move.b     D0, [A4 + 0x32]
  5372. 0000331C  4A80                     tst.l      D0
  5373. 0000331E  323C FF7F                move.w     D1, 0xFF7F
  5374. 00003322  C240                     and.w      D1, D0
  5375. 00003324  7000                     moveq.l    D0, 0x00
  5376. 00003326  3001                     move.w     D0, D1
  5377. 00003328  4A80                     tst.l      D0
  5378. 0000332A  4A6B 001C                tst.w      [A3 + 0x1C]
  5379. 0000332E  6708                     beq        +0xA /* 00003338 */
  5380. 00003330  223C 0000 0080           move.l     D1, 0x80
  5381. 00003336  6002                     bra        +0x4 /* 0000333A */
  5382. label00003338:
  5383. 00003338  7200                     moveq.l    D1, 0x00
  5384. label0000333A:
  5385. 0000333A  7400                     moveq.l    D2, 0x00
  5386. 0000333C  1401                     move.b     D2, D1
  5387. 0000333E  4A82                     tst.l      D2
  5388. 00003340  8440                     or.w       D2, D0
  5389. 00003342  2F02                     move.l     -[A7], D2
  5390. 00003344  7006                     moveq.l    D0, 0x06
  5391. 00003346  2F00                     move.l     -[A7], D0
  5392. 00003348  4878 008A                push.l     0x8A
  5393. 0000334C  4EBA E248                jsr        [PC - 0x1DB8 /* 00001596 */]
  5394. 00003350  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5395. label00003354:
  5396. 00003354  4A44                     tst.w      D4
  5397. 00003356  6700 1DE2                beq        +0x1DE4 /* 0000513A */
  5398. 0000335A  7001                     moveq.l    D0, 0x01
  5399. 0000335C  2F00                     move.l     -[A7], D0
  5400. 0000335E  7205                     moveq.l    D1, 0x05
  5401. 00003360  2F01                     move.l     -[A7], D1
  5402. 00003362  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5403. 00003368  7003                     moveq.l    D0, 0x03
  5404. 0000336A  2F00                     move.l     -[A7], D0
  5405. 0000336C  2F07                     move.l     -[A7], D7
  5406. 0000336E  4EBA D404                jsr        [PC - 0x2BFC /* 00000774 */]
  5407. 00003372  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5408. 00003376  6000 1DC2                bra        +0x1DC4 /* 0000513A */
  5409. label0000337A:
  5410. 0000337A  4878 00FF                push.l     0xFF
  5411. 0000337E  7000                     moveq.l    D0, 0x00
  5412. 00003380  2F00                     move.l     -[A7], D0
  5413. 00003382  322B 001C                move.w     D1, [A3 + 0x1C]
  5414. 00003386  48C1                     ext.l      D1
  5415. 00003388  2F01                     move.l     -[A7], D1
  5416. 0000338A  4EBA D370                jsr        [PC - 0x2C90 /* 000006FC */]
  5417. 0000338E  4A40                     tst.w      D0
  5418. 00003390  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5419. 00003394  6608                     bne        +0xA /* 0000339E */
  5420. 00003396  3A3C E0BD                move.w     D5, 0xE0BD
  5421. 0000339A  6000 1D9E                bra        +0x1DA0 /* 0000513A */
  5422. label0000339E:
  5423. 0000339E  2F0C                     move.l     -[A7], A4
  5424. 000033A0  302B 001C                move.w     D0, [A3 + 0x1C]
  5425. 000033A4  48C0                     ext.l      D0
  5426. 000033A6  2F00                     move.l     -[A7], D0
  5427. 000033A8  7007                     moveq.l    D0, 0x07
  5428. 000033AA  2F00                     move.l     -[A7], D0
  5429. 000033AC  4878 008A                push.l     0x8A
  5430. 000033B0  4EBA E1E4                jsr        [PC - 0x1E1C /* 00001596 */]
  5431. 000033B4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5432. 000033B8  6000 1D80                bra        +0x1D82 /* 0000513A */
  5433. label000033BC:
  5434. 000033BC  7062                     moveq.l    D0, 0x62
  5435. 000033BE  B06C 0146                cmp.w      D0, [A4 + 0x146]
  5436. 000033C2  6606                     bne        +0x8 /* 000033CA */
  5437. 000033C4  7AEF                     moveq.l    D5, 0xFFFFFFEF
  5438. 000033C6  6000 1D72                bra        +0x1D74 /* 0000513A */
  5439. label000033CA:
  5440. 000033CA  4878 00FF                push.l     0xFF
  5441. 000033CE  7000                     moveq.l    D0, 0x00
  5442. 000033D0  2F00                     move.l     -[A7], D0
  5443. 000033D2  322B 001C                move.w     D1, [A3 + 0x1C]
  5444. 000033D6  48C1                     ext.l      D1
  5445. 000033D8  2F01                     move.l     -[A7], D1
  5446. 000033DA  4EBA D320                jsr        [PC - 0x2CE0 /* 000006FC */]
  5447. 000033DE  4A40                     tst.w      D0
  5448. 000033E0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5449. 000033E4  6608                     bne        +0xA /* 000033EE */
  5450. 000033E6  3A3C E0BC                move.w     D5, 0xE0BC
  5451. 000033EA  6000 1D4E                bra        +0x1D50 /* 0000513A */
  5452. label000033EE:
  5453. 000033EE  2F0C                     move.l     -[A7], A4
  5454. 000033F0  302B 001C                move.w     D0, [A3 + 0x1C]
  5455. 000033F4  48C0                     ext.l      D0
  5456. 000033F6  2F00                     move.l     -[A7], D0
  5457. 000033F8  7011                     moveq.l    D0, 0x11
  5458. 000033FA  2F00                     move.l     -[A7], D0
  5459. 000033FC  4878 008A                push.l     0x8A
  5460. 00003400  4EBA E194                jsr        [PC - 0x1E6C /* 00001596 */]
  5461. 00003404  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5462. 00003408  6000 1D30                bra        +0x1D32 /* 0000513A */
  5463. label0000340C:
  5464. 0000340C  302B 0022                move.w     D0, [A3 + 0x22]
  5465. 00003410  906B 001E                sub.w      D0, [A3 + 0x1E]
  5466. 00003414  3D40 FFE6                move.w     [A6 - 0x1A], D0
  5467. 00003418  302B 0020                move.w     D0, [A3 + 0x20]
  5468. 0000341C  906B 001C                sub.w      D0, [A3 + 0x1C]
  5469. 00003420  3D40 FFE8                move.w     [A6 - 0x18], D0
  5470. 00003424  302C 0018                move.w     D0, [A4 + 0x18]
  5471. 00003428  48C0                     ext.l      D0
  5472. 0000342A  D080                     add.l      D0, D0
  5473. 0000342C  2F00                     move.l     -[A7], D0
  5474. 0000342E  302C 0016                move.w     D0, [A4 + 0x16]
  5475. 00003432  48C0                     ext.l      D0
  5476. 00003434  D080                     add.l      D0, D0
  5477. 00003436  2F00                     move.l     -[A7], D0
  5478. 00003438  302B 001C                move.w     D0, [A3 + 0x1C]
  5479. 0000343C  48C0                     ext.l      D0
  5480. 0000343E  2F00                     move.l     -[A7], D0
  5481. 00003440  4EBA D2BA                jsr        [PC - 0x2D46 /* 000006FC */]
  5482. 00003444  4A40                     tst.w      D0
  5483. 00003446  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5484. 0000344A  6770                     beq        +0x72 /* 000034BC */
  5485. 0000344C  302C 0018                move.w     D0, [A4 + 0x18]
  5486. 00003450  48C0                     ext.l      D0
  5487. 00003452  D080                     add.l      D0, D0
  5488. 00003454  2F00                     move.l     -[A7], D0
  5489. 00003456  302C 0016                move.w     D0, [A4 + 0x16]
  5490. 0000345A  48C0                     ext.l      D0
  5491. 0000345C  D080                     add.l      D0, D0
  5492. 0000345E  2F00                     move.l     -[A7], D0
  5493. 00003460  302B 0020                move.w     D0, [A3 + 0x20]
  5494. 00003464  48C0                     ext.l      D0
  5495. 00003466  2F00                     move.l     -[A7], D0
  5496. 00003468  4EBA D292                jsr        [PC - 0x2D6E /* 000006FC */]
  5497. 0000346C  4A40                     tst.w      D0
  5498. 0000346E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5499. 00003472  6748                     beq        +0x4A /* 000034BC */
  5500. 00003474  302C 0012                move.w     D0, [A4 + 0x12]
  5501. 00003478  48C0                     ext.l      D0
  5502. 0000347A  2F00                     move.l     -[A7], D0
  5503. 0000347C  302C 0010                move.w     D0, [A4 + 0x10]
  5504. 00003480  48C0                     ext.l      D0
  5505. 00003482  2F00                     move.l     -[A7], D0
  5506. 00003484  302B 001E                move.w     D0, [A3 + 0x1E]
  5507. 00003488  48C0                     ext.l      D0
  5508. 0000348A  2F00                     move.l     -[A7], D0
  5509. 0000348C  4EBA D26E                jsr        [PC - 0x2D92 /* 000006FC */]
  5510. 00003490  4A40                     tst.w      D0
  5511. 00003492  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5512. 00003496  6724                     beq        +0x26 /* 000034BC */
  5513. 00003498  302C 0012                move.w     D0, [A4 + 0x12]
  5514. 0000349C  48C0                     ext.l      D0
  5515. 0000349E  2F00                     move.l     -[A7], D0
  5516. 000034A0  302C 0010                move.w     D0, [A4 + 0x10]
  5517. 000034A4  48C0                     ext.l      D0
  5518. 000034A6  2F00                     move.l     -[A7], D0
  5519. 000034A8  302B 0022                move.w     D0, [A3 + 0x22]
  5520. 000034AC  48C0                     ext.l      D0
  5521. 000034AE  2F00                     move.l     -[A7], D0
  5522. 000034B0  4EBA D24A                jsr        [PC - 0x2DB6 /* 000006FC */]
  5523. 000034B4  4A40                     tst.w      D0
  5524. 000034B6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5525. 000034BA  6608                     bne        +0xA /* 000034C4 */
  5526. label000034BC:
  5527. 000034BC  3A3C E0B7                move.w     D5, 0xE0B7
  5528. 000034C0  6000 1C78                bra        +0x1C7A /* 0000513A */
  5529. label000034C4:
  5530. 000034C4  302E FFE6                move.w     D0, [A6 - 0x1A]
  5531. 000034C8  48C0                     ext.l      D0
  5532. 000034CA  2F00                     move.l     -[A7], D0
  5533. 000034CC  7000                     moveq.l    D0, 0x00
  5534. 000034CE  2F00                     move.l     -[A7], D0
  5535. 000034D0  322B 0024                move.w     D1, [A3 + 0x24]
  5536. 000034D4  48C1                     ext.l      D1
  5537. 000034D6  2F01                     move.l     -[A7], D1
  5538. 000034D8  4EBA D222                jsr        [PC - 0x2DDE /* 000006FC */]
  5539. 000034DC  4A40                     tst.w      D0
  5540. 000034DE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5541. 000034E2  670A                     beq        +0xC /* 000034EE */
  5542. 000034E4  302B 0024                move.w     D0, [A3 + 0x24]
  5543. 000034E8  B06C 0014                cmp.w      D0, [A4 + 0x14]
  5544. 000034EC  6F08                     ble        +0xA /* 000034F6 */
  5545. label000034EE:
  5546. 000034EE  3A3C E0B6                move.w     D5, 0xE0B6
  5547. 000034F2  6000 1C46                bra        +0x1C48 /* 0000513A */
  5548. label000034F6:
  5549. 000034F6  302E FFE8                move.w     D0, [A6 - 0x18]
  5550. 000034FA  48C0                     ext.l      D0
  5551. 000034FC  2F00                     move.l     -[A7], D0
  5552. 000034FE  7000                     moveq.l    D0, 0x00
  5553. 00003500  2F00                     move.l     -[A7], D0
  5554. 00003502  322B 0026                move.w     D1, [A3 + 0x26]
  5555. 00003506  48C1                     ext.l      D1
  5556. 00003508  2F01                     move.l     -[A7], D1
  5557. 0000350A  4EBA D1F0                jsr        [PC - 0x2E10 /* 000006FC */]
  5558. 0000350E  4A40                     tst.w      D0
  5559. 00003510  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5560. 00003514  670A                     beq        +0xC /* 00003520 */
  5561. 00003516  302B 0026                move.w     D0, [A3 + 0x26]
  5562. 0000351A  B06C 001A                cmp.w      D0, [A4 + 0x1A]
  5563. 0000351E  6F08                     ble        +0xA /* 00003528 */
  5564. label00003520:
  5565. 00003520  3A3C E0B5                move.w     D5, 0xE0B5
  5566. 00003524  6000 1C14                bra        +0x1C16 /* 0000513A */
  5567. label00003528:
  5568. 00003528  7001                     moveq.l    D0, 0x01
  5569. 0000352A  C06B 0026                and.w      D0, [A3 + 0x26]
  5570. 0000352E  7200                     moveq.l    D1, 0x00
  5571. 00003530  3200                     move.w     D1, D0
  5572. 00003532  4A81                     tst.l      D1
  5573. 00003534  6708                     beq        +0xA /* 0000353E */
  5574. 00003536  3A3C E0B4                move.w     D5, 0xE0B4
  5575. 0000353A  6000 1BFE                bra        +0x1C00 /* 0000513A */
  5576. label0000353E:
  5577. 0000353E  7001                     moveq.l    D0, 0x01
  5578. 00003540  C06B 0020                and.w      D0, [A3 + 0x20]
  5579. 00003544  7200                     moveq.l    D1, 0x00
  5580. 00003546  3200                     move.w     D1, D0
  5581. 00003548  4A81                     tst.l      D1
  5582. 0000354A  660E                     bne        +0x10 /* 0000355A */
  5583. 0000354C  7001                     moveq.l    D0, 0x01
  5584. 0000354E  C06B 0020                and.w      D0, [A3 + 0x20]
  5585. 00003552  7200                     moveq.l    D1, 0x00
  5586. 00003554  3200                     move.w     D1, D0
  5587. 00003556  4A81                     tst.l      D1
  5588. 00003558  6708                     beq        +0xA /* 00003562 */
  5589. label0000355A:
  5590. 0000355A  3A3C E0B3                move.w     D5, 0xE0B3
  5591. 0000355E  6000 1BDA                bra        +0x1BDC /* 0000513A */
  5592. label00003562:
  5593. 00003562  4A6B 0028                tst.w      [A3 + 0x28]
  5594. 00003566  6730                     beq        +0x32 /* 00003598 */
  5595. 00003568  7001                     moveq.l    D0, 0x01
  5596. 0000356A  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5597. 0000356E  6728                     beq        +0x2A /* 00003598 */
  5598. 00003570  7002                     moveq.l    D0, 0x02
  5599. 00003572  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5600. 00003576  6720                     beq        +0x22 /* 00003598 */
  5601. 00003578  7004                     moveq.l    D0, 0x04
  5602. 0000357A  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5603. 0000357E  6718                     beq        +0x1A /* 00003598 */
  5604. 00003580  7005                     moveq.l    D0, 0x05
  5605. 00003582  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5606. 00003586  6710                     beq        +0x12 /* 00003598 */
  5607. 00003588  7006                     moveq.l    D0, 0x06
  5608. 0000358A  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5609. 0000358E  6708                     beq        +0xA /* 00003598 */
  5610. 00003590  3A3C E0B2                move.w     D5, 0xE0B2
  5611. 00003594  6000 1BA4                bra        +0x1BA6 /* 0000513A */
  5612. label00003598:
  5613. 00003598  2F07                     move.l     -[A7], D7
  5614. 0000359A  4EBA D41C                jsr        [PC - 0x2BE4 /* 000009B8 */]
  5615. 0000359E  3800                     move.w     D4, D0
  5616. 000035A0  7004                     moveq.l    D0, 0x04
  5617. 000035A2  2F00                     move.l     -[A7], D0
  5618. 000035A4  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  5619. 000035AA  7203                     moveq.l    D1, 0x03
  5620. 000035AC  2F01                     move.l     -[A7], D1
  5621. 000035AE  2F07                     move.l     -[A7], D7
  5622. 000035B0  4EBA D570                jsr        [PC - 0x2A90 /* 00000B22 */]
  5623. 000035B4  4A40                     tst.w      D0
  5624. 000035B6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5625. 000035BA  6652                     bne        +0x54 /* 0000360E */
  5626. 000035BC  4878 03FF                push.l     0x3FF
  5627. 000035C0  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5628. 000035C6  7003                     moveq.l    D0, 0x03
  5629. 000035C8  2F00                     move.l     -[A7], D0
  5630. 000035CA  2F07                     move.l     -[A7], D7
  5631. 000035CC  4EBA D4F2                jsr        [PC - 0x2B0E /* 00000AC0 */]
  5632. 000035D0  3C00                     move.w     D6, D0
  5633. 000035D2  48C6                     ext.l      D6
  5634. 000035D4  2F0C                     move.l     -[A7], A4
  5635. 000035D6  4EBA D6E8                jsr        [PC - 0x2918 /* 00000CC0 */]
  5636. 000035DA  48C0                     ext.l      D0
  5637. 000035DC  5380                     subq.l     D0, 1
  5638. 000035DE  2206                     move.l     D1, D6
  5639. 000035E0  9280                     sub.l      D1, D0
  5640. 000035E2  588F                     addq.l     A7, 4
  5641. 000035E4  2F01                     move.l     -[A7], D1
  5642. 000035E6  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5643. 000035EC  7003                     moveq.l    D0, 0x03
  5644. 000035EE  2F00                     move.l     -[A7], D0
  5645. 000035F0  2F07                     move.l     -[A7], D7
  5646. 000035F2  4EBA D12E                jsr        [PC - 0x2ED2 /* 00000722 */]
  5647. 000035F6  48C6                     ext.l      D6
  5648. 000035F8  2F06                     move.l     -[A7], D6
  5649. 000035FA  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  5650. 00003600  7002                     moveq.l    D0, 0x02
  5651. 00003602  2F00                     move.l     -[A7], D0
  5652. 00003604  2F07                     move.l     -[A7], D7
  5653. 00003606  4EBA D11A                jsr        [PC - 0x2EE6 /* 00000722 */]
  5654. 0000360A  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5655. label0000360E:
  5656. 0000360E  7003                     moveq.l    D0, 0x03
  5657. 00003610  2F00                     move.l     -[A7], D0
  5658. 00003612  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  5659. 00003618  2F00                     move.l     -[A7], D0
  5660. 0000361A  2F07                     move.l     -[A7], D7
  5661. 0000361C  4EBA D504                jsr        [PC - 0x2AFC /* 00000B22 */]
  5662. 00003620  4A40                     tst.w      D0
  5663. 00003622  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5664. 00003626  6658                     bne        +0x5A /* 00003680 */
  5665. 00003628  4878 01FF                push.l     0x1FF
  5666. 0000362C  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5667. 00003632  7003                     moveq.l    D0, 0x03
  5668. 00003634  2F00                     move.l     -[A7], D0
  5669. 00003636  2F07                     move.l     -[A7], D7
  5670. 00003638  4EBA D486                jsr        [PC - 0x2B7A /* 00000AC0 */]
  5671. 0000363C  3C00                     move.w     D6, D0
  5672. 0000363E  48C6                     ext.l      D6
  5673. 00003640  2F07                     move.l     -[A7], D7
  5674. 00003642  4EBA D588                jsr        [PC - 0x2A78 /* 00000BCC */]
  5675. 00003646  48C0                     ext.l      D0
  5676. 00003648  5380                     subq.l     D0, 1
  5677. 0000364A  2206                     move.l     D1, D6
  5678. 0000364C  9280                     sub.l      D1, D0
  5679. 0000364E  588F                     addq.l     A7, 4
  5680. 00003650  2F01                     move.l     -[A7], D1
  5681. 00003652  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5682. 00003658  7003                     moveq.l    D0, 0x03
  5683. 0000365A  2F00                     move.l     -[A7], D0
  5684. 0000365C  2F07                     move.l     -[A7], D7
  5685. 0000365E  4EBA D0C2                jsr        [PC - 0x2F3E /* 00000722 */]
  5686. 00003662  3006                     move.w     D0, D6
  5687. 00003664  E240                     asr        D0.w, 1
  5688. 00003666  48C0                     ext.l      D0
  5689. 00003668  5280                     addq.l     D0, 1
  5690. 0000366A  2F00                     move.l     -[A7], D0
  5691. 0000366C  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  5692. 00003672  7002                     moveq.l    D0, 0x02
  5693. 00003674  2F00                     move.l     -[A7], D0
  5694. 00003676  2F07                     move.l     -[A7], D7
  5695. 00003678  4EBA D0A8                jsr        [PC - 0x2F58 /* 00000722 */]
  5696. 0000367C  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5697. label00003680:
  5698. 00003680  302E FFE8                move.w     D0, [A6 - 0x18]
  5699. 00003684  48C0                     ext.l      D0
  5700. 00003686  81FC 0002                divs.w     D0, 0x2
  5701. 0000368A  B06B 0026                cmp.w      D0, [A3 + 0x26]
  5702. 0000368E  6D00 00AE                blt        +0xB0 /* 0000373E */
  5703. 00003692  4A6B 0028                tst.w      [A3 + 0x28]
  5704. 00003696  6708                     beq        +0xA /* 000036A0 */
  5705. 00003698  7004                     moveq.l    D0, 0x04
  5706. 0000369A  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5707. 0000369E  661E                     bne        +0x20 /* 000036BE */
  5708. label000036A0:
  5709. 000036A0  7001                     moveq.l    D0, 0x01
  5710. 000036A2  2F00                     move.l     -[A7], D0
  5711. 000036A4  7204                     moveq.l    D1, 0x04
  5712. 000036A6  2F01                     move.l     -[A7], D1
  5713. 000036A8  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5714. 000036AE  7003                     moveq.l    D0, 0x03
  5715. 000036B0  2F00                     move.l     -[A7], D0
  5716. 000036B2  2F07                     move.l     -[A7], D7
  5717. 000036B4  4EBA D0BE                jsr        [PC - 0x2F42 /* 00000774 */]
  5718. 000036B8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5719. 000036BC  601C                     bra        +0x1E /* 000036DA */
  5720. label000036BE:
  5721. 000036BE  7000                     moveq.l    D0, 0x00
  5722. 000036C0  2F00                     move.l     -[A7], D0
  5723. 000036C2  7204                     moveq.l    D1, 0x04
  5724. 000036C4  2F01                     move.l     -[A7], D1
  5725. 000036C6  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5726. 000036CC  7003                     moveq.l    D0, 0x03
  5727. 000036CE  2F00                     move.l     -[A7], D0
  5728. 000036D0  2F07                     move.l     -[A7], D7
  5729. 000036D2  4EBA D0A0                jsr        [PC - 0x2F60 /* 00000774 */]
  5730. 000036D6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5731. label000036DA:
  5732. 000036DA  7001                     moveq.l    D0, 0x01
  5733. 000036DC  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5734. 000036E0  6708                     beq        +0xA /* 000036EA */
  5735. 000036E2  7005                     moveq.l    D0, 0x05
  5736. 000036E4  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5737. 000036E8  661C                     bne        +0x1E /* 00003706 */
  5738. label000036EA:
  5739. 000036EA  7001                     moveq.l    D0, 0x01
  5740. 000036EC  2F00                     move.l     -[A7], D0
  5741. 000036EE  7203                     moveq.l    D1, 0x03
  5742. 000036F0  2F01                     move.l     -[A7], D1
  5743. 000036F2  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5744. 000036F8  2F01                     move.l     -[A7], D1
  5745. 000036FA  2F07                     move.l     -[A7], D7
  5746. 000036FC  4EBA D076                jsr        [PC - 0x2F8A /* 00000774 */]
  5747. 00003700  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5748. 00003704  601A                     bra        +0x1C /* 00003720 */
  5749. label00003706:
  5750. 00003706  7000                     moveq.l    D0, 0x00
  5751. 00003708  2F00                     move.l     -[A7], D0
  5752. 0000370A  7203                     moveq.l    D1, 0x03
  5753. 0000370C  2F01                     move.l     -[A7], D1
  5754. 0000370E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5755. 00003714  2F01                     move.l     -[A7], D1
  5756. 00003716  2F07                     move.l     -[A7], D7
  5757. 00003718  4EBA D05A                jsr        [PC - 0x2FA6 /* 00000774 */]
  5758. 0000371C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5759. label00003720:
  5760. 00003720  7000                     moveq.l    D0, 0x00
  5761. 00003722  2F00                     move.l     -[A7], D0
  5762. 00003724  7209                     moveq.l    D1, 0x09
  5763. 00003726  2F01                     move.l     -[A7], D1
  5764. 00003728  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5765. 0000372E  7003                     moveq.l    D0, 0x03
  5766. 00003730  2F00                     move.l     -[A7], D0
  5767. 00003732  2F07                     move.l     -[A7], D7
  5768. 00003734  4EBA D03E                jsr        [PC - 0x2FC2 /* 00000774 */]
  5769. 00003738  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5770. 0000373C  6074                     bra        +0x76 /* 000037B2 */
  5771. label0000373E:
  5772. 0000373E  7000                     moveq.l    D0, 0x00
  5773. 00003740  2F00                     move.l     -[A7], D0
  5774. 00003742  7203                     moveq.l    D1, 0x03
  5775. 00003744  2F01                     move.l     -[A7], D1
  5776. 00003746  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5777. 0000374C  2F01                     move.l     -[A7], D1
  5778. 0000374E  2F07                     move.l     -[A7], D7
  5779. 00003750  4EBA D022                jsr        [PC - 0x2FDE /* 00000774 */]
  5780. 00003754  7001                     moveq.l    D0, 0x01
  5781. 00003756  2F00                     move.l     -[A7], D0
  5782. 00003758  7204                     moveq.l    D1, 0x04
  5783. 0000375A  2F01                     move.l     -[A7], D1
  5784. 0000375C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5785. 00003762  7003                     moveq.l    D0, 0x03
  5786. 00003764  2F00                     move.l     -[A7], D0
  5787. 00003766  2F07                     move.l     -[A7], D7
  5788. 00003768  4EBA D00A                jsr        [PC - 0x2FF6 /* 00000774 */]
  5789. 0000376C  7004                     moveq.l    D0, 0x04
  5790. 0000376E  B06B 0028                cmp.w      D0, [A3 + 0x28]
  5791. 00003772  4FEF 0028                lea.l      A7, [A7 + 0x28]
  5792. 00003776  6E1E                     bgt        +0x20 /* 00003796 */
  5793. 00003778  7001                     moveq.l    D0, 0x01
  5794. 0000377A  2F00                     move.l     -[A7], D0
  5795. 0000377C  7209                     moveq.l    D1, 0x09
  5796. 0000377E  2F01                     move.l     -[A7], D1
  5797. 00003780  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5798. 00003786  7003                     moveq.l    D0, 0x03
  5799. 00003788  2F00                     move.l     -[A7], D0
  5800. 0000378A  2F07                     move.l     -[A7], D7
  5801. 0000378C  4EBA CFE6                jsr        [PC - 0x301A /* 00000774 */]
  5802. 00003790  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5803. 00003794  601C                     bra        +0x1E /* 000037B2 */
  5804. label00003796:
  5805. 00003796  7000                     moveq.l    D0, 0x00
  5806. 00003798  2F00                     move.l     -[A7], D0
  5807. 0000379A  7209                     moveq.l    D1, 0x09
  5808. 0000379C  2F01                     move.l     -[A7], D1
  5809. 0000379E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5810. 000037A4  7003                     moveq.l    D0, 0x03
  5811. 000037A6  2F00                     move.l     -[A7], D0
  5812. 000037A8  2F07                     move.l     -[A7], D7
  5813. 000037AA  4EBA CFC8                jsr        [PC - 0x3038 /* 00000774 */]
  5814. 000037AE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5815. label000037B2:
  5816. 000037B2  7062                     moveq.l    D0, 0x62
  5817. 000037B4  B06C 0146                cmp.w      D0, [A4 + 0x146]
  5818. 000037B8  6600 00C0                bne        +0xC2 /* 0000387A */
  5819. 000037BC  4A6C 0026                tst.w      [A4 + 0x26]
  5820. 000037C0  6722                     beq        +0x24 /* 000037E4 */
  5821. 000037C2  302B 001E                move.w     D0, [A3 + 0x1E]
  5822. 000037C6  48C0                     ext.l      D0
  5823. 000037C8  4C3C 0800 0000           movem.w    A3, 0x0
  5824. 000037CE  23C1 D0BC 0000           move.l     [0xD0BC0000], D1
  5825. 000037D4  1388 4C7C                move.b     [A1 + D4 * 4 + 0x7C], A0
  5826. 000037D8  0800 0000                btst.b     D0, 0x0
  5827. 000037DC  2710                     move.l     -[A3], [A0]
  5828. 000037DE  720A                     moveq.l    D1, 0x0A
  5829. 000037E0  9081                     sub.l      D0, D1
  5830. 000037E2  6020                     bra        +0x22 /* 00003804 */
  5831. label000037E4:
  5832. 000037E4  302B 001E                move.w     D0, [A3 + 0x1E]
  5833. 000037E8  48C0                     ext.l      D0
  5834. 000037EA  4C3C 0800 0000           movem.w    A3, 0x0
  5835. 000037F0  2AF8 D0BC                move.l     [A5]+, [0xFFFFD0BC]
  5836. 000037F4  0000 1388                ori.b      D0, 0x88
  5837. 000037F8  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  5838. 00003800  7212                     moveq.l    D1, 0x12
  5839. 00003802  9081                     sub.l      D0, D1
  5840. label00003804:
  5841. 00003804  720F                     moveq.l    D1, 0x0F
  5842. 00003806  9081                     sub.l      D0, D1
  5843. 00003808  2F00                     move.l     -[A7], D0
  5844. 0000380A  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5845. 00003810  7002                     moveq.l    D0, 0x02
  5846. 00003812  2F00                     move.l     -[A7], D0
  5847. 00003814  2F07                     move.l     -[A7], D7
  5848. 00003816  4EBA CF0A                jsr        [PC - 0x30F6 /* 00000722 */]
  5849. 0000381A  4A6C 0026                tst.w      [A4 + 0x26]
  5850. 0000381E  6722                     beq        +0x24 /* 00003842 */
  5851. 00003820  302B 0022                move.w     D0, [A3 + 0x22]
  5852. 00003824  48C0                     ext.l      D0
  5853. 00003826  4C3C 0800 0000           movem.w    A3, 0x0
  5854. 0000382C  23C1 D0BC 0000           move.l     [0xD0BC0000], D1
  5855. 00003832  1388 4C7C                move.b     [A1 + D4 * 4 + 0x7C], A0
  5856. 00003836  0800 0000                btst.b     D0, 0x0
  5857. 0000383A  2710                     move.l     -[A3], [A0]
  5858. 0000383C  720A                     moveq.l    D1, 0x0A
  5859. 0000383E  9081                     sub.l      D0, D1
  5860. 00003840  6020                     bra        +0x22 /* 00003862 */
  5861. label00003842:
  5862. 00003842  302B 0022                move.w     D0, [A3 + 0x22]
  5863. 00003846  48C0                     ext.l      D0
  5864. 00003848  4C3C 0800 0000           movem.w    A3, 0x0
  5865. 0000384E  2AF8 D0BC                move.l     [A5]+, [0xFFFFD0BC]
  5866. 00003852  0000 1388                ori.b      D0, 0x88
  5867. 00003856  4C7C 0800 0000 2710      movem.l    A3, 0x2710
  5868. 0000385E  7212                     moveq.l    D1, 0x12
  5869. 00003860  9081                     sub.l      D0, D1
  5870. label00003862:
  5871. 00003862  2F00                     move.l     -[A7], D0
  5872. 00003864  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5873. 0000386A  7002                     moveq.l    D0, 0x02
  5874. 0000386C  2F00                     move.l     -[A7], D0
  5875. 0000386E  2F07                     move.l     -[A7], D7
  5876. 00003870  4EBA CEB0                jsr        [PC - 0x3150 /* 00000722 */]
  5877. 00003874  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5878. 00003878  6038                     bra        +0x3A /* 000038B2 */
  5879. label0000387A:
  5880. 0000387A  302B 001E                move.w     D0, [A3 + 0x1E]
  5881. 0000387E  48C0                     ext.l      D0
  5882. 00003880  720F                     moveq.l    D1, 0x0F
  5883. 00003882  9081                     sub.l      D0, D1
  5884. 00003884  2F00                     move.l     -[A7], D0
  5885. 00003886  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  5886. 0000388C  7002                     moveq.l    D0, 0x02
  5887. 0000388E  2F00                     move.l     -[A7], D0
  5888. 00003890  2F07                     move.l     -[A7], D7
  5889. 00003892  4EBA CE8E                jsr        [PC - 0x3172 /* 00000722 */]
  5890. 00003896  302B 0022                move.w     D0, [A3 + 0x22]
  5891. 0000389A  48C0                     ext.l      D0
  5892. 0000389C  2F00                     move.l     -[A7], D0
  5893. 0000389E  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5894. 000038A4  7002                     moveq.l    D0, 0x02
  5895. 000038A6  2F00                     move.l     -[A7], D0
  5896. 000038A8  2F07                     move.l     -[A7], D7
  5897. 000038AA  4EBA CE76                jsr        [PC - 0x318A /* 00000722 */]
  5898. 000038AE  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5899. label000038B2:
  5900. 000038B2  396B 0024 0024           move.w     [A4 + 0x24], [A3 + 0x24]
  5901. 000038B8  396B 001E 001C           move.w     [A4 + 0x1C], [A3 + 0x1E]
  5902. 000038BE  396B 0022 001E           move.w     [A4 + 0x1E], [A3 + 0x22]
  5903. 000038C4  302B 001C                move.w     D0, [A3 + 0x1C]
  5904. 000038C8  48C0                     ext.l      D0
  5905. 000038CA  81FC 0002                divs.w     D0, 0x2
  5906. 000038CE  48C0                     ext.l      D0
  5907. 000038D0  2F00                     move.l     -[A7], D0
  5908. 000038D2  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  5909. 000038D8  7002                     moveq.l    D0, 0x02
  5910. 000038DA  2F00                     move.l     -[A7], D0
  5911. 000038DC  2F07                     move.l     -[A7], D7
  5912. 000038DE  4EBA CE42                jsr        [PC - 0x31BE /* 00000722 */]
  5913. 000038E2  302B 0020                move.w     D0, [A3 + 0x20]
  5914. 000038E6  48C0                     ext.l      D0
  5915. 000038E8  81FC 0002                divs.w     D0, 0x2
  5916. 000038EC  48C0                     ext.l      D0
  5917. 000038EE  2F00                     move.l     -[A7], D0
  5918. 000038F0  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  5919. 000038F6  7002                     moveq.l    D0, 0x02
  5920. 000038F8  2F00                     move.l     -[A7], D0
  5921. 000038FA  2F07                     move.l     -[A7], D7
  5922. 000038FC  4EBA CE24                jsr        [PC - 0x31DC /* 00000722 */]
  5923. 00003900  302B 001C                move.w     D0, [A3 + 0x1C]
  5924. 00003904  48C0                     ext.l      D0
  5925. 00003906  81FC 0002                divs.w     D0, 0x2
  5926. 0000390A  3940 0020                move.w     [A4 + 0x20], D0
  5927. 0000390E  302B 0020                move.w     D0, [A3 + 0x20]
  5928. 00003912  48C0                     ext.l      D0
  5929. 00003914  81FC 0002                divs.w     D0, 0x2
  5930. 00003918  3940 0022                move.w     [A4 + 0x22], D0
  5931. 0000391C  302B 0024                move.w     D0, [A3 + 0x24]
  5932. 00003920  48C0                     ext.l      D0
  5933. 00003922  2F00                     move.l     -[A7], D0
  5934. 00003924  2F0C                     move.l     -[A7], A4
  5935. 00003926  4EBA CFEE                jsr        [PC - 0x3012 /* 00000916 */]
  5936. 0000392A  48C0                     ext.l      D0
  5937. 0000392C  508F                     addq.l     A7, 8
  5938. 0000392E  2F00                     move.l     -[A7], D0
  5939. 00003930  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  5940. 00003936  7002                     moveq.l    D0, 0x02
  5941. 00003938  2F00                     move.l     -[A7], D0
  5942. 0000393A  2F07                     move.l     -[A7], D7
  5943. 0000393C  4EBA CDE4                jsr        [PC - 0x321C /* 00000722 */]
  5944. 00003940  7062                     moveq.l    D0, 0x62
  5945. 00003942  B06C 0146                cmp.w      D0, [A4 + 0x146]
  5946. 00003946  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5947. 0000394A  6600 0214                bne        +0x216 /* 00003B60 */
  5948. 0000394E  7001                     moveq.l    D0, 0x01
  5949. 00003950  B06C 0026                cmp.w      D0, [A4 + 0x26]
  5950. 00003954  6600 020A                bne        +0x20C /* 00003B60 */
  5951. 00003958  302B 0024                move.w     D0, [A3 + 0x24]
  5952. 0000395C  48C0                     ext.l      D0
  5953. 0000395E  4C3C 0800 0000           movem.w    A3, 0x0
  5954. 00003964  2710                     move.l     -[A3], [A0]
  5955. 00003966  322E FFE6                move.w     D1, [A6 - 0x1A]
  5956. 0000396A  48C1                     ext.l      D1
  5957. 0000396C  4C41 0800                movem.l    A3, D1
  5958. 00003970  0C80 0000 23C1           cmpi.l     D0, 0x23C1
  5959. 00003976  6D00 01E8                blt        +0x1EA /* 00003B60 */
  5960. 0000397A  302E FFE6                move.w     D0, [A6 - 0x1A]
  5961. 0000397E  48C0                     ext.l      D0
  5962. 00003980  4C3C 0800 0000           movem.w    A3, 0x0
  5963. 00003986  23C1 4C7C 0800           move.l     [0x4C7C0800], D1
  5964. 0000398C  0000 2710                ori.b      D0, 0x10
  5965. 00003990  3C2B 0024                move.w     D6, [A3 + 0x24]
  5966. 00003994  9C40                     sub.w      D6, D0
  5967. 00003996  4878 03FF                push.l     0x3FF
  5968. 0000399A  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5969. 000039A0  7002                     moveq.l    D0, 0x02
  5970. 000039A2  2F00                     move.l     -[A7], D0
  5971. 000039A4  2F07                     move.l     -[A7], D7
  5972. 000039A6  4EBA D118                jsr        [PC - 0x2EE8 /* 00000AC0 */]
  5973. 000039AA  322C 0012                move.w     D1, [A4 + 0x12]
  5974. 000039AE  9240                     sub.w      D1, D0
  5975. 000039B0  3D41 FFE4                move.w     [A6 - 0x1C], D1
  5976. 000039B4  BC6E FFE4                cmp.w      D6, [A6 - 0x1C]
  5977. 000039B8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5978. 000039BC  6E3A                     bgt        +0x3C /* 000039F8 */
  5979. 000039BE  48C6                     ext.l      D6
  5980. 000039C0  2046                     movea.l    A0, D6
  5981. 000039C2  2F08                     move.l     -[A7], A0
  5982. 000039C4  4878 03FF                push.l     0x3FF
  5983. 000039C8  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5984. 000039CE  7002                     moveq.l    D0, 0x02
  5985. 000039D0  2F00                     move.l     -[A7], D0
  5986. 000039D2  2F07                     move.l     -[A7], D7
  5987. 000039D4  4EBA D0EA                jsr        [PC - 0x2F16 /* 00000AC0 */]
  5988. 000039D8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5989. 000039DC  205F                     movea.l    A0, [A7]+
  5990. 000039DE  D0C0                     add.w      A0, D0
  5991. 000039E0  2F08                     move.l     -[A7], A0
  5992. 000039E2  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  5993. 000039E8  7002                     moveq.l    D0, 0x02
  5994. 000039EA  2F00                     move.l     -[A7], D0
  5995. 000039EC  2F07                     move.l     -[A7], D7
  5996. 000039EE  4EBA CD32                jsr        [PC - 0x32CE /* 00000722 */]
  5997. 000039F2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5998. 000039F6  6078                     bra        +0x7A /* 00003A70 */
  5999. label000039F8:
  6000. 000039F8  302E FFE4                move.w     D0, [A6 - 0x1C]
  6001. 000039FC  48C0                     ext.l      D0
  6002. 000039FE  2040                     movea.l    A0, D0
  6003. 00003A00  2F08                     move.l     -[A7], A0
  6004. 00003A02  4878 03FF                push.l     0x3FF
  6005. 00003A06  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6006. 00003A0C  7002                     moveq.l    D0, 0x02
  6007. 00003A0E  2F00                     move.l     -[A7], D0
  6008. 00003A10  2F07                     move.l     -[A7], D7
  6009. 00003A12  4EBA D0AC                jsr        [PC - 0x2F54 /* 00000AC0 */]
  6010. 00003A16  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6011. 00003A1A  205F                     movea.l    A0, [A7]+
  6012. 00003A1C  D0C0                     add.w      A0, D0
  6013. 00003A1E  2F08                     move.l     -[A7], A0
  6014. 00003A20  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6015. 00003A26  7002                     moveq.l    D0, 0x02
  6016. 00003A28  2F00                     move.l     -[A7], D0
  6017. 00003A2A  2F07                     move.l     -[A7], D7
  6018. 00003A2C  4EBA CCF4                jsr        [PC - 0x330C /* 00000722 */]
  6019. 00003A30  302E FFE4                move.w     D0, [A6 - 0x1C]
  6020. 00003A34  48C0                     ext.l      D0
  6021. 00003A36  48C6                     ext.l      D6
  6022. 00003A38  9086                     sub.l      D0, D6
  6023. 00003A3A  2040                     movea.l    A0, D0
  6024. 00003A3C  2F08                     move.l     -[A7], A0
  6025. 00003A3E  4878 03FF                push.l     0x3FF
  6026. 00003A42  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6027. 00003A48  7002                     moveq.l    D0, 0x02
  6028. 00003A4A  2F00                     move.l     -[A7], D0
  6029. 00003A4C  2F07                     move.l     -[A7], D7
  6030. 00003A4E  4EBA D070                jsr        [PC - 0x2F90 /* 00000AC0 */]
  6031. 00003A52  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6032. 00003A56  205F                     movea.l    A0, [A7]+
  6033. 00003A58  D0C0                     add.w      A0, D0
  6034. 00003A5A  2F08                     move.l     -[A7], A0
  6035. 00003A5C  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6036. 00003A62  7002                     moveq.l    D0, 0x02
  6037. 00003A64  2F00                     move.l     -[A7], D0
  6038. 00003A66  2F07                     move.l     -[A7], D7
  6039. 00003A68  4EBA CCB8                jsr        [PC - 0x3348 /* 00000722 */]
  6040. 00003A6C  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6041. label00003A70:
  6042. 00003A70  48C6                     ext.l      D6
  6043. 00003A72  2206                     move.l     D1, D6
  6044. 00003A74  4C3C 1800 0000           movem.w    A3,A4, 0x0
  6045. 00003A7A  23C1 4C7C 1801           move.l     [0x4C7C1801], D1
  6046. 00003A80  0000 4E20                ori.b      D0, 0x20 /* ' ' */
  6047. 00003A84  3C01                     move.w     D6, D1
  6048. 00003A86  4878 03FF                push.l     0x3FF
  6049. 00003A8A  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6050. 00003A90  7002                     moveq.l    D0, 0x02
  6051. 00003A92  2F00                     move.l     -[A7], D0
  6052. 00003A94  2F07                     move.l     -[A7], D7
  6053. 00003A96  4EBA D028                jsr        [PC - 0x2FD8 /* 00000AC0 */]
  6054. 00003A9A  322C 0018                move.w     D1, [A4 + 0x18]
  6055. 00003A9E  9240                     sub.w      D1, D0
  6056. 00003AA0  3D41 FFE4                move.w     [A6 - 0x1C], D1
  6057. 00003AA4  BC6E FFE4                cmp.w      D6, [A6 - 0x1C]
  6058. 00003AA8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6059. 00003AAC  6E3A                     bgt        +0x3C /* 00003AE8 */
  6060. 00003AAE  48C6                     ext.l      D6
  6061. 00003AB0  2046                     movea.l    A0, D6
  6062. 00003AB2  2F08                     move.l     -[A7], A0
  6063. 00003AB4  4878 03FF                push.l     0x3FF
  6064. 00003AB8  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6065. 00003ABE  7002                     moveq.l    D0, 0x02
  6066. 00003AC0  2F00                     move.l     -[A7], D0
  6067. 00003AC2  2F07                     move.l     -[A7], D7
  6068. 00003AC4  4EBA CFFA                jsr        [PC - 0x3006 /* 00000AC0 */]
  6069. 00003AC8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6070. 00003ACC  205F                     movea.l    A0, [A7]+
  6071. 00003ACE  D0C0                     add.w      A0, D0
  6072. 00003AD0  2F08                     move.l     -[A7], A0
  6073. 00003AD2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6074. 00003AD8  7002                     moveq.l    D0, 0x02
  6075. 00003ADA  2F00                     move.l     -[A7], D0
  6076. 00003ADC  2F07                     move.l     -[A7], D7
  6077. 00003ADE  4EBA CC42                jsr        [PC - 0x33BE /* 00000722 */]
  6078. 00003AE2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6079. 00003AE6  6078                     bra        +0x7A /* 00003B60 */
  6080. label00003AE8:
  6081. 00003AE8  302E FFE4                move.w     D0, [A6 - 0x1C]
  6082. 00003AEC  48C0                     ext.l      D0
  6083. 00003AEE  2040                     movea.l    A0, D0
  6084. 00003AF0  2F08                     move.l     -[A7], A0
  6085. 00003AF2  4878 03FF                push.l     0x3FF
  6086. 00003AF6  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6087. 00003AFC  7002                     moveq.l    D0, 0x02
  6088. 00003AFE  2F00                     move.l     -[A7], D0
  6089. 00003B00  2F07                     move.l     -[A7], D7
  6090. 00003B02  4EBA CFBC                jsr        [PC - 0x3044 /* 00000AC0 */]
  6091. 00003B06  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6092. 00003B0A  205F                     movea.l    A0, [A7]+
  6093. 00003B0C  D0C0                     add.w      A0, D0
  6094. 00003B0E  2F08                     move.l     -[A7], A0
  6095. 00003B10  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6096. 00003B16  7002                     moveq.l    D0, 0x02
  6097. 00003B18  2F00                     move.l     -[A7], D0
  6098. 00003B1A  2F07                     move.l     -[A7], D7
  6099. 00003B1C  4EBA CC04                jsr        [PC - 0x33FC /* 00000722 */]
  6100. 00003B20  302E FFE4                move.w     D0, [A6 - 0x1C]
  6101. 00003B24  48C0                     ext.l      D0
  6102. 00003B26  48C6                     ext.l      D6
  6103. 00003B28  9086                     sub.l      D0, D6
  6104. 00003B2A  2040                     movea.l    A0, D0
  6105. 00003B2C  2F08                     move.l     -[A7], A0
  6106. 00003B2E  4878 03FF                push.l     0x3FF
  6107. 00003B32  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  6108. 00003B38  7002                     moveq.l    D0, 0x02
  6109. 00003B3A  2F00                     move.l     -[A7], D0
  6110. 00003B3C  2F07                     move.l     -[A7], D7
  6111. 00003B3E  4EBA CF80                jsr        [PC - 0x3080 /* 00000AC0 */]
  6112. 00003B42  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6113. 00003B46  205F                     movea.l    A0, [A7]+
  6114. 00003B48  D0C0                     add.w      A0, D0
  6115. 00003B4A  2F08                     move.l     -[A7], A0
  6116. 00003B4C  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  6117. 00003B52  7002                     moveq.l    D0, 0x02
  6118. 00003B54  2F00                     move.l     -[A7], D0
  6119. 00003B56  2F07                     move.l     -[A7], D7
  6120. 00003B58  4EBA CBC8                jsr        [PC - 0x3438 /* 00000722 */]
  6121. 00003B5C  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6122. label00003B60:
  6123. 00003B60  4878 01FF                push.l     0x1FF
  6124. 00003B64  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  6125. 00003B6A  7002                     moveq.l    D0, 0x02
  6126. 00003B6C  2F00                     move.l     -[A7], D0
  6127. 00003B6E  2F07                     move.l     -[A7], D7
  6128. 00003B70  4EBA CF4E                jsr        [PC - 0x30B2 /* 00000AC0 */]
  6129. 00003B74  3C3C 0080                move.w     D6, 0x80
  6130. 00003B78  CC40                     and.w      D6, D0
  6131. 00003B7A  302B 0026                move.w     D0, [A3 + 0x26]
  6132. 00003B7E  48C0                     ext.l      D0
  6133. 00003B80  2F00                     move.l     -[A7], D0
  6134. 00003B82  2F07                     move.l     -[A7], D7
  6135. 00003B84  4EBA CCB2                jsr        [PC - 0x334E /* 00000838 */]
  6136. 00003B88  48C0                     ext.l      D0
  6137. 00003B8A  508F                     addq.l     A7, 8
  6138. 00003B8C  2F00                     move.l     -[A7], D0
  6139. 00003B8E  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  6140. 00003B94  7002                     moveq.l    D0, 0x02
  6141. 00003B96  2F00                     move.l     -[A7], D0
  6142. 00003B98  2F07                     move.l     -[A7], D7
  6143. 00003B9A  4EBA CB86                jsr        [PC - 0x347A /* 00000722 */]
  6144. 00003B9E  4878 01FF                push.l     0x1FF
  6145. 00003BA2  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  6146. 00003BA8  7002                     moveq.l    D0, 0x02
  6147. 00003BAA  2F00                     move.l     -[A7], D0
  6148. 00003BAC  2F07                     move.l     -[A7], D7
  6149. 00003BAE  4EBA CF10                jsr        [PC - 0x30F0 /* 00000AC0 */]
  6150. 00003BB2  323C 0080                move.w     D1, 0x80
  6151. 00003BB6  C240                     and.w      D1, D0
  6152. 00003BB8  7000                     moveq.l    D0, 0x00
  6153. 00003BBA  3001                     move.w     D0, D1
  6154. 00003BBC  4A80                     tst.l      D0
  6155. 00003BBE  48C6                     ext.l      D6
  6156. 00003BC0  BC80                     cmp.l      D6, D0
  6157. 00003BC2  4FEF 0030                lea.l      A7, [A7 + 0x30]
  6158. 00003BC6  673C                     beq        +0x3E /* 00003C04 */
  6159. 00003BC8  7005                     moveq.l    D0, 0x05
  6160. 00003BCA  2F00                     move.l     -[A7], D0
  6161. 00003BCC  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6162. 00003BD2  7203                     moveq.l    D1, 0x03
  6163. 00003BD4  2F01                     move.l     -[A7], D1
  6164. 00003BD6  2F07                     move.l     -[A7], D7
  6165. 00003BD8  4EBA CF48                jsr        [PC - 0x30B8 /* 00000B22 */]
  6166. 00003BDC  4A40                     tst.w      D0
  6167. 00003BDE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6168. 00003BE2  6704                     beq        +0x6 /* 00003BE8 */
  6169. 00003BE4  7000                     moveq.l    D0, 0x00
  6170. 00003BE6  6002                     bra        +0x4 /* 00003BEA */
  6171. label00003BE8:
  6172. 00003BE8  7001                     moveq.l    D0, 0x01
  6173. label00003BEA:
  6174. 00003BEA  2F00                     move.l     -[A7], D0
  6175. 00003BEC  7005                     moveq.l    D0, 0x05
  6176. 00003BEE  2F00                     move.l     -[A7], D0
  6177. 00003BF0  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6178. 00003BF6  7203                     moveq.l    D1, 0x03
  6179. 00003BF8  2F01                     move.l     -[A7], D1
  6180. 00003BFA  2F07                     move.l     -[A7], D7
  6181. 00003BFC  4EBA CB76                jsr        [PC - 0x348A /* 00000774 */]
  6182. 00003C00  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6183. label00003C04:
  6184. 00003C04  4878 03FF                push.l     0x3FF
  6185. 00003C08  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6186. 00003C0E  7003                     moveq.l    D0, 0x03
  6187. 00003C10  2F00                     move.l     -[A7], D0
  6188. 00003C12  2F07                     move.l     -[A7], D7
  6189. 00003C14  4EBA CEAA                jsr        [PC - 0x3156 /* 00000AC0 */]
  6190. 00003C18  3C00                     move.w     D6, D0
  6191. 00003C1A  7004                     moveq.l    D0, 0x04
  6192. 00003C1C  2F00                     move.l     -[A7], D0
  6193. 00003C1E  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6194. 00003C24  7203                     moveq.l    D1, 0x03
  6195. 00003C26  2F01                     move.l     -[A7], D1
  6196. 00003C28  2F07                     move.l     -[A7], D7
  6197. 00003C2A  4EBA CEF6                jsr        [PC - 0x310A /* 00000B22 */]
  6198. 00003C2E  4A40                     tst.w      D0
  6199. 00003C30  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6200. 00003C34  663C                     bne        +0x3E /* 00003C72 */
  6201. 00003C36  48C6                     ext.l      D6
  6202. 00003C38  2F0C                     move.l     -[A7], A4
  6203. 00003C3A  4EBA D084                jsr        [PC - 0x2F7C /* 00000CC0 */]
  6204. 00003C3E  48C0                     ext.l      D0
  6205. 00003C40  D086                     add.l      D0, D6
  6206. 00003C42  5380                     subq.l     D0, 1
  6207. 00003C44  588F                     addq.l     A7, 4
  6208. 00003C46  2F00                     move.l     -[A7], D0
  6209. 00003C48  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6210. 00003C4E  7003                     moveq.l    D0, 0x03
  6211. 00003C50  2F00                     move.l     -[A7], D0
  6212. 00003C52  2F07                     move.l     -[A7], D7
  6213. 00003C54  4EBA CACC                jsr        [PC - 0x3534 /* 00000722 */]
  6214. 00003C58  48C6                     ext.l      D6
  6215. 00003C5A  2F06                     move.l     -[A7], D6
  6216. 00003C5C  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6217. 00003C62  7002                     moveq.l    D0, 0x02
  6218. 00003C64  2F00                     move.l     -[A7], D0
  6219. 00003C66  2F07                     move.l     -[A7], D7
  6220. 00003C68  4EBA CAB8                jsr        [PC - 0x3548 /* 00000722 */]
  6221. 00003C6C  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6222. 00003C70  6026                     bra        +0x28 /* 00003C98 */
  6223. label00003C72:
  6224. 00003C72  48C6                     ext.l      D6
  6225. 00003C74  2F0C                     move.l     -[A7], A4
  6226. 00003C76  4EBA D048                jsr        [PC - 0x2FB8 /* 00000CC0 */]
  6227. 00003C7A  48C0                     ext.l      D0
  6228. 00003C7C  D086                     add.l      D0, D6
  6229. 00003C7E  5380                     subq.l     D0, 1
  6230. 00003C80  588F                     addq.l     A7, 4
  6231. 00003C82  2F00                     move.l     -[A7], D0
  6232. 00003C84  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6233. 00003C8A  7002                     moveq.l    D0, 0x02
  6234. 00003C8C  2F00                     move.l     -[A7], D0
  6235. 00003C8E  2F07                     move.l     -[A7], D7
  6236. 00003C90  4EBA CA90                jsr        [PC - 0x3570 /* 00000722 */]
  6237. 00003C94  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6238. label00003C98:
  6239. 00003C98  4878 01FF                push.l     0x1FF
  6240. 00003C9C  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6241. 00003CA2  7003                     moveq.l    D0, 0x03
  6242. 00003CA4  2F00                     move.l     -[A7], D0
  6243. 00003CA6  2F07                     move.l     -[A7], D7
  6244. 00003CA8  4EBA CE16                jsr        [PC - 0x31EA /* 00000AC0 */]
  6245. 00003CAC  3C00                     move.w     D6, D0
  6246. 00003CAE  7003                     moveq.l    D0, 0x03
  6247. 00003CB0  2F00                     move.l     -[A7], D0
  6248. 00003CB2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6249. 00003CB8  2F00                     move.l     -[A7], D0
  6250. 00003CBA  2F07                     move.l     -[A7], D7
  6251. 00003CBC  4EBA CE64                jsr        [PC - 0x319C /* 00000B22 */]
  6252. 00003CC0  4A40                     tst.w      D0
  6253. 00003CC2  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6254. 00003CC6  6642                     bne        +0x44 /* 00003D0A */
  6255. 00003CC8  48C6                     ext.l      D6
  6256. 00003CCA  2F07                     move.l     -[A7], D7
  6257. 00003CCC  4EBA CEFE                jsr        [PC - 0x3102 /* 00000BCC */]
  6258. 00003CD0  48C0                     ext.l      D0
  6259. 00003CD2  D086                     add.l      D0, D6
  6260. 00003CD4  5380                     subq.l     D0, 1
  6261. 00003CD6  588F                     addq.l     A7, 4
  6262. 00003CD8  2F00                     move.l     -[A7], D0
  6263. 00003CDA  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6264. 00003CE0  7003                     moveq.l    D0, 0x03
  6265. 00003CE2  2F00                     move.l     -[A7], D0
  6266. 00003CE4  2F07                     move.l     -[A7], D7
  6267. 00003CE6  4EBA CA3A                jsr        [PC - 0x35C6 /* 00000722 */]
  6268. 00003CEA  3006                     move.w     D0, D6
  6269. 00003CEC  E240                     asr        D0.w, 1
  6270. 00003CEE  48C0                     ext.l      D0
  6271. 00003CF0  5380                     subq.l     D0, 1
  6272. 00003CF2  2F00                     move.l     -[A7], D0
  6273. 00003CF4  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  6274. 00003CFA  7002                     moveq.l    D0, 0x02
  6275. 00003CFC  2F00                     move.l     -[A7], D0
  6276. 00003CFE  2F07                     move.l     -[A7], D7
  6277. 00003D00  4EBA CA20                jsr        [PC - 0x35E0 /* 00000722 */]
  6278. 00003D04  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6279. 00003D08  6026                     bra        +0x28 /* 00003D30 */
  6280. label00003D0A:
  6281. 00003D0A  48C6                     ext.l      D6
  6282. 00003D0C  2F07                     move.l     -[A7], D7
  6283. 00003D0E  4EBA CEBC                jsr        [PC - 0x3144 /* 00000BCC */]
  6284. 00003D12  48C0                     ext.l      D0
  6285. 00003D14  D086                     add.l      D0, D6
  6286. 00003D16  E280                     asr        D0, 1
  6287. 00003D18  588F                     addq.l     A7, 4
  6288. 00003D1A  2F00                     move.l     -[A7], D0
  6289. 00003D1C  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  6290. 00003D22  7002                     moveq.l    D0, 0x02
  6291. 00003D24  2F00                     move.l     -[A7], D0
  6292. 00003D26  2F07                     move.l     -[A7], D7
  6293. 00003D28  4EBA C9F8                jsr        [PC - 0x3608 /* 00000722 */]
  6294. 00003D2C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6295. label00003D30:
  6296. 00003D30  2F0C                     move.l     -[A7], A4
  6297. 00003D32  4EBA CF8C                jsr        [PC - 0x3074 /* 00000CC0 */]
  6298. 00003D36  3C00                     move.w     D6, D0
  6299. 00003D38  0C46 0065                cmpi.w     D6, 0x65 /* 'e' */
  6300. 00003D3C  584F                     addq.w     A7, 4
  6301. 00003D3E  6E04                     bgt        +0x6 /* 00003D44 */
  6302. 00003D40  7C01                     moveq.l    D6, 0x01
  6303. 00003D42  6058                     bra        +0x5A /* 00003D9C */
  6304. label00003D44:
  6305. 00003D44  0C46 0146                cmpi.w     D6, 0x146
  6306. 00003D48  6E04                     bgt        +0x6 /* 00003D4E */
  6307. 00003D4A  7C03                     moveq.l    D6, 0x03
  6308. 00003D4C  604E                     bra        +0x50 /* 00003D9C */
  6309. label00003D4E:
  6310. 00003D4E  0C46 0201                cmpi.w     D6, 0x201
  6311. 00003D52  6E04                     bgt        +0x6 /* 00003D58 */
  6312. 00003D54  7C0F                     moveq.l    D6, 0x0F
  6313. 00003D56  6044                     bra        +0x46 /* 00003D9C */
  6314. label00003D58:
  6315. 00003D58  0C46 0231                cmpi.w     D6, 0x231
  6316. 00003D5C  6E04                     bgt        +0x6 /* 00003D62 */
  6317. 00003D5E  7C1A                     moveq.l    D6, 0x1A
  6318. 00003D60  603A                     bra        +0x3C /* 00003D9C */
  6319. label00003D62:
  6320. 00003D62  0C46 0245                cmpi.w     D6, 0x245
  6321. 00003D66  6E04                     bgt        +0x6 /* 00003D6C */
  6322. 00003D68  7C28                     moveq.l    D6, 0x28
  6323. 00003D6A  6030                     bra        +0x32 /* 00003D9C */
  6324. label00003D6C:
  6325. 00003D6C  0C46 0263                cmpi.w     D6, 0x263
  6326. 00003D70  6E04                     bgt        +0x6 /* 00003D76 */
  6327. 00003D72  7C3C                     moveq.l    D6, 0x3C
  6328. 00003D74  6026                     bra        +0x28 /* 00003D9C */
  6329. label00003D76:
  6330. 00003D76  0C46 0279                cmpi.w     D6, 0x279
  6331. 00003D7A  6E04                     bgt        +0x6 /* 00003D80 */
  6332. 00003D7C  7C6C                     moveq.l    D6, 0x6C
  6333. 00003D7E  601C                     bra        +0x1E /* 00003D9C */
  6334. label00003D80:
  6335. 00003D80  0C46 0281                cmpi.w     D6, 0x281
  6336. 00003D84  6E06                     bgt        +0x8 /* 00003D8C */
  6337. 00003D86  3C3C 0087                move.w     D6, 0x87
  6338. 00003D8A  6010                     bra        +0x12 /* 00003D9C */
  6339. label00003D8C:
  6340. 00003D8C  0C46 0287                cmpi.w     D6, 0x287
  6341. 00003D90  6E06                     bgt        +0x8 /* 00003D98 */
  6342. 00003D92  3C3C 00B4                move.w     D6, 0xB4
  6343. 00003D96  6004                     bra        +0x6 /* 00003D9C */
  6344. label00003D98:
  6345. 00003D98  3C3C 00E0                move.w     D6, 0xE0
  6346. label00003D9C:
  6347. 00003D9C  48C6                     ext.l      D6
  6348. 00003D9E  2F06                     move.l     -[A7], D6
  6349. 00003DA0  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  6350. 00003DA6  7003                     moveq.l    D0, 0x03
  6351. 00003DA8  2F00                     move.l     -[A7], D0
  6352. 00003DAA  2F07                     move.l     -[A7], D7
  6353. 00003DAC  4EBA C974                jsr        [PC - 0x368C /* 00000722 */]
  6354. 00003DB0  4A44                     tst.w      D4
  6355. 00003DB2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6356. 00003DB6  6700 1382                beq        +0x1384 /* 0000513A */
  6357. 00003DBA  7001                     moveq.l    D0, 0x01
  6358. 00003DBC  2F00                     move.l     -[A7], D0
  6359. 00003DBE  7205                     moveq.l    D1, 0x05
  6360. 00003DC0  2F01                     move.l     -[A7], D1
  6361. 00003DC2  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6362. 00003DC8  7003                     moveq.l    D0, 0x03
  6363. 00003DCA  2F00                     move.l     -[A7], D0
  6364. 00003DCC  2F07                     move.l     -[A7], D7
  6365. 00003DCE  4EBA C9A4                jsr        [PC - 0x365C /* 00000774 */]
  6366. 00003DD2  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6367. 00003DD6  6000 1362                bra        +0x1364 /* 0000513A */
  6368. label00003DDA:
  6369. 00003DDA  4878 03FF                push.l     0x3FF
  6370. 00003DDE  7000                     moveq.l    D0, 0x00
  6371. 00003DE0  2F00                     move.l     -[A7], D0
  6372. 00003DE2  322B 001E                move.w     D1, [A3 + 0x1E]
  6373. 00003DE6  48C1                     ext.l      D1
  6374. 00003DE8  2F01                     move.l     -[A7], D1
  6375. 00003DEA  4EBA C910                jsr        [PC - 0x36F0 /* 000006FC */]
  6376. 00003DEE  4A40                     tst.w      D0
  6377. 00003DF0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6378. 00003DF4  671C                     beq        +0x1E /* 00003E12 */
  6379. 00003DF6  4878 01FF                push.l     0x1FF
  6380. 00003DFA  7000                     moveq.l    D0, 0x00
  6381. 00003DFC  2F00                     move.l     -[A7], D0
  6382. 00003DFE  322B 001C                move.w     D1, [A3 + 0x1C]
  6383. 00003E02  48C1                     ext.l      D1
  6384. 00003E04  2F01                     move.l     -[A7], D1
  6385. 00003E06  4EBA C8F4                jsr        [PC - 0x370C /* 000006FC */]
  6386. 00003E0A  4A40                     tst.w      D0
  6387. 00003E0C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6388. 00003E10  6608                     bne        +0xA /* 00003E1A */
  6389. label00003E12:
  6390. 00003E12  3A3C E0B1                move.w     D5, 0xE0B1
  6391. 00003E16  6000 1322                bra        +0x1324 /* 0000513A */
  6392. label00003E1A:
  6393. 00003E1A  7001                     moveq.l    D0, 0x01
  6394. 00003E1C  C06B 001C                and.w      D0, [A3 + 0x1C]
  6395. 00003E20  7200                     moveq.l    D1, 0x00
  6396. 00003E22  3200                     move.w     D1, D0
  6397. 00003E24  4A81                     tst.l      D1
  6398. 00003E26  6708                     beq        +0xA /* 00003E30 */
  6399. 00003E28  3A3C E0B0                move.w     D5, 0xE0B0
  6400. 00003E2C  6000 130C                bra        +0x130E /* 0000513A */
  6401. label00003E30:
  6402. 00003E30  2F07                     move.l     -[A7], D7
  6403. 00003E32  4EBA CB84                jsr        [PC - 0x347C /* 000009B8 */]
  6404. 00003E36  3800                     move.w     D4, D0
  6405. 00003E38  7004                     moveq.l    D0, 0x04
  6406. 00003E3A  2F00                     move.l     -[A7], D0
  6407. 00003E3C  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6408. 00003E42  7203                     moveq.l    D1, 0x03
  6409. 00003E44  2F01                     move.l     -[A7], D1
  6410. 00003E46  2F07                     move.l     -[A7], D7
  6411. 00003E48  4EBA CCD8                jsr        [PC - 0x3328 /* 00000B22 */]
  6412. 00003E4C  4A40                     tst.w      D0
  6413. 00003E4E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6414. 00003E52  664C                     bne        +0x4E /* 00003EA0 */
  6415. 00003E54  302B 001E                move.w     D0, [A3 + 0x1E]
  6416. 00003E58  48C0                     ext.l      D0
  6417. 00003E5A  2D40 FFBE                move.l     [A6 - 0x42], D0
  6418. 00003E5E  2F0C                     move.l     -[A7], A4
  6419. 00003E60  4EBA CE5E                jsr        [PC - 0x31A2 /* 00000CC0 */]
  6420. 00003E64  48C0                     ext.l      D0
  6421. 00003E66  222E FFBE                move.l     D1, [A6 - 0x42]
  6422. 00003E6A  D081                     add.l      D0, D1
  6423. 00003E6C  5380                     subq.l     D0, 1
  6424. 00003E6E  588F                     addq.l     A7, 4
  6425. 00003E70  2F00                     move.l     -[A7], D0
  6426. 00003E72  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6427. 00003E78  7003                     moveq.l    D0, 0x03
  6428. 00003E7A  2F00                     move.l     -[A7], D0
  6429. 00003E7C  2F07                     move.l     -[A7], D7
  6430. 00003E7E  4EBA C8A2                jsr        [PC - 0x375E /* 00000722 */]
  6431. 00003E82  302B 001E                move.w     D0, [A3 + 0x1E]
  6432. 00003E86  48C0                     ext.l      D0
  6433. 00003E88  2F00                     move.l     -[A7], D0
  6434. 00003E8A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6435. 00003E90  7002                     moveq.l    D0, 0x02
  6436. 00003E92  2F00                     move.l     -[A7], D0
  6437. 00003E94  2F07                     move.l     -[A7], D7
  6438. 00003E96  4EBA C88A                jsr        [PC - 0x3776 /* 00000722 */]
  6439. 00003E9A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6440. 00003E9E  604A                     bra        +0x4C /* 00003EEA */
  6441. label00003EA0:
  6442. 00003EA0  302B 001E                move.w     D0, [A3 + 0x1E]
  6443. 00003EA4  48C0                     ext.l      D0
  6444. 00003EA6  2F00                     move.l     -[A7], D0
  6445. 00003EA8  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6446. 00003EAE  7003                     moveq.l    D0, 0x03
  6447. 00003EB0  2F00                     move.l     -[A7], D0
  6448. 00003EB2  2F07                     move.l     -[A7], D7
  6449. 00003EB4  4EBA C86C                jsr        [PC - 0x3794 /* 00000722 */]
  6450. 00003EB8  302B 001E                move.w     D0, [A3 + 0x1E]
  6451. 00003EBC  48C0                     ext.l      D0
  6452. 00003EBE  2D40 FFBA                move.l     [A6 - 0x46], D0
  6453. 00003EC2  2F0C                     move.l     -[A7], A4
  6454. 00003EC4  4EBA CDFA                jsr        [PC - 0x3206 /* 00000CC0 */]
  6455. 00003EC8  48C0                     ext.l      D0
  6456. 00003ECA  222E FFBA                move.l     D1, [A6 - 0x46]
  6457. 00003ECE  D081                     add.l      D0, D1
  6458. 00003ED0  5380                     subq.l     D0, 1
  6459. 00003ED2  588F                     addq.l     A7, 4
  6460. 00003ED4  2F00                     move.l     -[A7], D0
  6461. 00003ED6  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6462. 00003EDC  7002                     moveq.l    D0, 0x02
  6463. 00003EDE  2F00                     move.l     -[A7], D0
  6464. 00003EE0  2F07                     move.l     -[A7], D7
  6465. 00003EE2  4EBA C83E                jsr        [PC - 0x37C2 /* 00000722 */]
  6466. 00003EE6  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6467. label00003EEA:
  6468. 00003EEA  7003                     moveq.l    D0, 0x03
  6469. 00003EEC  2F00                     move.l     -[A7], D0
  6470. 00003EEE  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6471. 00003EF4  2F00                     move.l     -[A7], D0
  6472. 00003EF6  2F07                     move.l     -[A7], D7
  6473. 00003EF8  4EBA CC28                jsr        [PC - 0x33D8 /* 00000B22 */]
  6474. 00003EFC  4A40                     tst.w      D0
  6475. 00003EFE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6476. 00003F02  6650                     bne        +0x52 /* 00003F54 */
  6477. 00003F04  302B 001C                move.w     D0, [A3 + 0x1C]
  6478. 00003F08  48C0                     ext.l      D0
  6479. 00003F0A  2D40 FFB6                move.l     [A6 - 0x4A], D0
  6480. 00003F0E  2F07                     move.l     -[A7], D7
  6481. 00003F10  4EBA CCBA                jsr        [PC - 0x3346 /* 00000BCC */]
  6482. 00003F14  48C0                     ext.l      D0
  6483. 00003F16  222E FFB6                move.l     D1, [A6 - 0x4A]
  6484. 00003F1A  D081                     add.l      D0, D1
  6485. 00003F1C  5380                     subq.l     D0, 1
  6486. 00003F1E  588F                     addq.l     A7, 4
  6487. 00003F20  2F00                     move.l     -[A7], D0
  6488. 00003F22  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6489. 00003F28  7003                     moveq.l    D0, 0x03
  6490. 00003F2A  2F00                     move.l     -[A7], D0
  6491. 00003F2C  2F07                     move.l     -[A7], D7
  6492. 00003F2E  4EBA C7F2                jsr        [PC - 0x380E /* 00000722 */]
  6493. 00003F32  302B 001C                move.w     D0, [A3 + 0x1C]
  6494. 00003F36  E240                     asr        D0.w, 1
  6495. 00003F38  48C0                     ext.l      D0
  6496. 00003F3A  5380                     subq.l     D0, 1
  6497. 00003F3C  2F00                     move.l     -[A7], D0
  6498. 00003F3E  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  6499. 00003F44  7002                     moveq.l    D0, 0x02
  6500. 00003F46  2F00                     move.l     -[A7], D0
  6501. 00003F48  2F07                     move.l     -[A7], D7
  6502. 00003F4A  4EBA C7D6                jsr        [PC - 0x382A /* 00000722 */]
  6503. 00003F4E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6504. 00003F52  604A                     bra        +0x4C /* 00003F9E */
  6505. label00003F54:
  6506. 00003F54  302B 001C                move.w     D0, [A3 + 0x1C]
  6507. 00003F58  48C0                     ext.l      D0
  6508. 00003F5A  2F00                     move.l     -[A7], D0
  6509. 00003F5C  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  6510. 00003F62  7003                     moveq.l    D0, 0x03
  6511. 00003F64  2F00                     move.l     -[A7], D0
  6512. 00003F66  2F07                     move.l     -[A7], D7
  6513. 00003F68  4EBA C7B8                jsr        [PC - 0x3848 /* 00000722 */]
  6514. 00003F6C  302B 001C                move.w     D0, [A3 + 0x1C]
  6515. 00003F70  48C0                     ext.l      D0
  6516. 00003F72  2D40 FFB2                move.l     [A6 - 0x4E], D0
  6517. 00003F76  2F07                     move.l     -[A7], D7
  6518. 00003F78  4EBA CC52                jsr        [PC - 0x33AE /* 00000BCC */]
  6519. 00003F7C  48C0                     ext.l      D0
  6520. 00003F7E  222E FFB2                move.l     D1, [A6 - 0x4E]
  6521. 00003F82  D081                     add.l      D0, D1
  6522. 00003F84  E280                     asr        D0, 1
  6523. 00003F86  588F                     addq.l     A7, 4
  6524. 00003F88  2F00                     move.l     -[A7], D0
  6525. 00003F8A  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  6526. 00003F90  7002                     moveq.l    D0, 0x02
  6527. 00003F92  2F00                     move.l     -[A7], D0
  6528. 00003F94  2F07                     move.l     -[A7], D7
  6529. 00003F96  4EBA C78A                jsr        [PC - 0x3876 /* 00000722 */]
  6530. 00003F9A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6531. label00003F9E:
  6532. 00003F9E  4A44                     tst.w      D4
  6533. 00003FA0  6700 1198                beq        +0x119A /* 0000513A */
  6534. 00003FA4  7001                     moveq.l    D0, 0x01
  6535. 00003FA6  2F00                     move.l     -[A7], D0
  6536. 00003FA8  7205                     moveq.l    D1, 0x05
  6537. 00003FAA  2F01                     move.l     -[A7], D1
  6538. 00003FAC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6539. 00003FB2  7003                     moveq.l    D0, 0x03
  6540. 00003FB4  2F00                     move.l     -[A7], D0
  6541. 00003FB6  2F07                     move.l     -[A7], D7
  6542. 00003FB8  4EBA C7BA                jsr        [PC - 0x3846 /* 00000774 */]
  6543. 00003FBC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6544. 00003FC0  6000 1178                bra        +0x117A /* 0000513A */
  6545. label00003FC4:
  6546. 00003FC4  4878 00FF                push.l     0xFF
  6547. 00003FC8  7000                     moveq.l    D0, 0x00
  6548. 00003FCA  2F00                     move.l     -[A7], D0
  6549. 00003FCC  322B 001C                move.w     D1, [A3 + 0x1C]
  6550. 00003FD0  48C1                     ext.l      D1
  6551. 00003FD2  2F01                     move.l     -[A7], D1
  6552. 00003FD4  4EBA C726                jsr        [PC - 0x38DA /* 000006FC */]
  6553. 00003FD8  4A40                     tst.w      D0
  6554. 00003FDA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6555. 00003FDE  6720                     beq        +0x22 /* 00004000 */
  6556. 00003FE0  302B 001C                move.w     D0, [A3 + 0x1C]
  6557. 00003FE4  48C0                     ext.l      D0
  6558. 00003FE6  2F00                     move.l     -[A7], D0
  6559. 00003FE8  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  6560. 00003FEE  7003                     moveq.l    D0, 0x03
  6561. 00003FF0  2F00                     move.l     -[A7], D0
  6562. 00003FF2  2F07                     move.l     -[A7], D7
  6563. 00003FF4  4EBA C72C                jsr        [PC - 0x38D4 /* 00000722 */]
  6564. 00003FF8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6565. 00003FFC  6000 113C                bra        +0x113E /* 0000513A */
  6566. label00004000:
  6567. 00004000  3A3C E0AF                move.w     D5, 0xE0AF
  6568. 00004004  6000 1134                bra        +0x1136 /* 0000513A */
  6569. label00004008:
  6570. 00004008  4A6B 001C                tst.w      [A3 + 0x1C]
  6571. 0000400C  57C3                     seq        D3
  6572. 0000400E  4403                     neg.b      D3
  6573. 00004010  49C3                     lea.l      A4, D3
  6574. 00004012  2F03                     move.l     -[A7], D3
  6575. 00004014  7002                     moveq.l    D0, 0x02
  6576. 00004016  2F00                     move.l     -[A7], D0
  6577. 00004018  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6578. 0000401E  7203                     moveq.l    D1, 0x03
  6579. 00004020  2F01                     move.l     -[A7], D1
  6580. 00004022  2F07                     move.l     -[A7], D7
  6581. 00004024  4EBA C74E                jsr        [PC - 0x38B2 /* 00000774 */]
  6582. 00004028  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6583. 0000402C  6000 110C                bra        +0x110E /* 0000513A */
  6584. label00004030:
  6585. 00004030  4A6B 001C                tst.w      [A3 + 0x1C]
  6586. 00004034  57C3                     seq        D3
  6587. 00004036  4403                     neg.b      D3
  6588. 00004038  49C3                     lea.l      A4, D3
  6589. 0000403A  2F03                     move.l     -[A7], D3
  6590. 0000403C  7001                     moveq.l    D0, 0x01
  6591. 0000403E  2F00                     move.l     -[A7], D0
  6592. 00004040  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6593. 00004046  7203                     moveq.l    D1, 0x03
  6594. 00004048  2F01                     move.l     -[A7], D1
  6595. 0000404A  2F07                     move.l     -[A7], D7
  6596. 0000404C  4EBA C726                jsr        [PC - 0x38DA /* 00000774 */]
  6597. 00004050  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6598. 00004054  6000 10E4                bra        +0x10E6 /* 0000513A */
  6599. label00004058:
  6600. 00004058  4A6B 001C                tst.w      [A3 + 0x1C]
  6601. 0000405C  57C3                     seq        D3
  6602. 0000405E  4403                     neg.b      D3
  6603. 00004060  49C3                     lea.l      A4, D3
  6604. 00004062  2F03                     move.l     -[A7], D3
  6605. 00004064  7000                     moveq.l    D0, 0x00
  6606. 00004066  2F00                     move.l     -[A7], D0
  6607. 00004068  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6608. 0000406E  7203                     moveq.l    D1, 0x03
  6609. 00004070  2F01                     move.l     -[A7], D1
  6610. 00004072  2F07                     move.l     -[A7], D7
  6611. 00004074  4EBA C6FE                jsr        [PC - 0x3902 /* 00000774 */]
  6612. 00004078  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6613. 0000407C  6000 10BC                bra        +0x10BE /* 0000513A */
  6614. label00004080:
  6615. 00004080  302B 001C                move.w     D0, [A3 + 0x1C]
  6616. 00004084  48C0                     ext.l      D0
  6617. 00004086  2F00                     move.l     -[A7], D0
  6618. 00004088  7001                     moveq.l    D0, 0x01
  6619. 0000408A  2F00                     move.l     -[A7], D0
  6620. 0000408C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6621. 00004092  7203                     moveq.l    D1, 0x03
  6622. 00004094  2F01                     move.l     -[A7], D1
  6623. 00004096  2F07                     move.l     -[A7], D7
  6624. 00004098  4EBA C6DA                jsr        [PC - 0x3926 /* 00000774 */]
  6625. 0000409C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6626. 000040A0  6000 1098                bra        +0x109A /* 0000513A */
  6627. label000040A4:
  6628. 000040A4  4A6B 001C                tst.w      [A3 + 0x1C]
  6629. 000040A8  671C                     beq        +0x1E /* 000040C6 */
  6630. 000040AA  206E FFC6                movea.l    A0, [A6 - 0x3A]
  6631. 000040AE  7000                     moveq.l    D0, 0x00
  6632. 000040B0  3028 0708                move.w     D0, [A0 + 0x708]
  6633. 000040B4  4A80                     tst.l      D0
  6634. 000040B6  0C80 0000 0084           cmpi.l     D0, 0x84
  6635. 000040BC  6708                     beq        +0xA /* 000040C6 */
  6636. 000040BE  3A3C E0AD                move.w     D5, 0xE0AD
  6637. 000040C2  6000 1076                bra        +0x1078 /* 0000513A */
  6638. label000040C6:
  6639. 000040C6  7001                     moveq.l    D0, 0x01
  6640. 000040C8  2F00                     move.l     -[A7], D0
  6641. 000040CA  7202                     moveq.l    D1, 0x02
  6642. 000040CC  2F01                     move.l     -[A7], D1
  6643. 000040CE  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6644. 000040D4  7003                     moveq.l    D0, 0x03
  6645. 000040D6  2F00                     move.l     -[A7], D0
  6646. 000040D8  2F07                     move.l     -[A7], D7
  6647. 000040DA  4EBA C698                jsr        [PC - 0x3968 /* 00000774 */]
  6648. 000040DE  7000                     moveq.l    D0, 0x00
  6649. 000040E0  2F00                     move.l     -[A7], D0
  6650. 000040E2  7208                     moveq.l    D1, 0x08
  6651. 000040E4  2F01                     move.l     -[A7], D1
  6652. 000040E6  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6653. 000040EC  7003                     moveq.l    D0, 0x03
  6654. 000040EE  2F00                     move.l     -[A7], D0
  6655. 000040F0  2F07                     move.l     -[A7], D7
  6656. 000040F2  4EBA C680                jsr        [PC - 0x3980 /* 00000774 */]
  6657. 000040F6  302B 001C                move.w     D0, [A3 + 0x1C]
  6658. 000040FA  48C0                     ext.l      D0
  6659. 000040FC  2F00                     move.l     -[A7], D0
  6660. 000040FE  7005                     moveq.l    D0, 0x05
  6661. 00004100  2F00                     move.l     -[A7], D0
  6662. 00004102  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6663. 00004108  7203                     moveq.l    D1, 0x03
  6664. 0000410A  2F01                     move.l     -[A7], D1
  6665. 0000410C  2F07                     move.l     -[A7], D7
  6666. 0000410E  4EBA C664                jsr        [PC - 0x399C /* 00000774 */]
  6667. 00004112  4A6B 001C                tst.w      [A3 + 0x1C]
  6668. 00004116  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  6669. 0000411A  6600 101E                bne        +0x1020 /* 0000513A */
  6670. 0000411E  4A6B 001E                tst.w      [A3 + 0x1E]
  6671. 00004122  6700 1016                beq        +0x1018 /* 0000513A */
  6672. 00004126  7000                     moveq.l    D0, 0x00
  6673. 00004128  2D40 FFF0                move.l     [A6 - 0x10], D0
  6674. 0000412C  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6675. 00004130  2049                     movea.l    A0, A1
  6676. 00004132  A058                     syscall    InsTime
  6677. 00004134  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6678. 00004138  2049                     movea.l    A0, A1
  6679. 0000413A  203C FFFE A070           move.l     D0, 0xFFFEA070
  6680. 00004140  A05A                     syscall    PrimeTime
  6681. 00004142  601C                     bra        +0x1E /* 00004160 */
  6682. label00004144:
  6683. 00004144  7000                     moveq.l    D0, 0x00
  6684. 00004146  2F00                     move.l     -[A7], D0
  6685. 00004148  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6686. 0000414E  7203                     moveq.l    D1, 0x03
  6687. 00004150  2F01                     move.l     -[A7], D1
  6688. 00004152  2F07                     move.l     -[A7], D7
  6689. 00004154  4EBA C9CC                jsr        [PC - 0x3634 /* 00000B22 */]
  6690. 00004158  4A40                     tst.w      D0
  6691. 0000415A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6692. 0000415E  6706                     beq        +0x8 /* 00004166 */
  6693. label00004160:
  6694. 00004160  4A6E FFEE                tst.w      [A6 - 0x12]
  6695. 00004164  6DDE                     blt        -0x20 /* 00004144 */
  6696. label00004166:
  6697. 00004166  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6698. 0000416A  2049                     movea.l    A0, A1
  6699. 0000416C  A059                     syscall    RmvTime
  6700. 0000416E  4AAE FFF4                tst.l      [A6 - 0xC]
  6701. 00004172  6600 0FC6                bne        +0xFC8 /* 0000513A */
  6702. 00004176  7001                     moveq.l    D0, 0x01
  6703. 00004178  2F00                     move.l     -[A7], D0
  6704. 0000417A  7208                     moveq.l    D1, 0x08
  6705. 0000417C  2F01                     move.l     -[A7], D1
  6706. 0000417E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6707. 00004184  7003                     moveq.l    D0, 0x03
  6708. 00004186  2F00                     move.l     -[A7], D0
  6709. 00004188  2F07                     move.l     -[A7], D7
  6710. 0000418A  4EBA C5E8                jsr        [PC - 0x3A18 /* 00000774 */]
  6711. 0000418E  3A3C E0AE                move.w     D5, 0xE0AE
  6712. 00004192  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6713. 00004196  6000 0FA2                bra        +0xFA4 /* 0000513A */
  6714. label0000419A:
  6715. 0000419A  206E FFC6                movea.l    A0, [A6 - 0x3A]
  6716. 0000419E  7000                     moveq.l    D0, 0x00
  6717. 000041A0  3028 0708                move.w     D0, [A0 + 0x708]
  6718. 000041A4  4A80                     tst.l      D0
  6719. 000041A6  0C80 0000 0084           cmpi.l     D0, 0x84
  6720. 000041AC  6708                     beq        +0xA /* 000041B6 */
  6721. 000041AE  3A3C E0AD                move.w     D5, 0xE0AD
  6722. 000041B2  6000 0F86                bra        +0xF88 /* 0000513A */
  6723. label000041B6:
  6724. 000041B6  7000                     moveq.l    D0, 0x00
  6725. 000041B8  2F00                     move.l     -[A7], D0
  6726. 000041BA  7208                     moveq.l    D1, 0x08
  6727. 000041BC  2F01                     move.l     -[A7], D1
  6728. 000041BE  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6729. 000041C4  7003                     moveq.l    D0, 0x03
  6730. 000041C6  2F00                     move.l     -[A7], D0
  6731. 000041C8  2F07                     move.l     -[A7], D7
  6732. 000041CA  4EBA C5A8                jsr        [PC - 0x3A58 /* 00000774 */]
  6733. 000041CE  4A6B 001C                tst.w      [A3 + 0x1C]
  6734. 000041D2  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6735. 000041D6  6700 018C                beq        +0x18E /* 00004364 */
  6736. 000041DA  7004                     moveq.l    D0, 0x04
  6737. 000041DC  2F00                     move.l     -[A7], D0
  6738. 000041DE  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6739. 000041E4  7203                     moveq.l    D1, 0x03
  6740. 000041E6  2F01                     move.l     -[A7], D1
  6741. 000041E8  2F07                     move.l     -[A7], D7
  6742. 000041EA  4EBA C936                jsr        [PC - 0x36CA /* 00000B22 */]
  6743. 000041EE  4A40                     tst.w      D0
  6744. 000041F0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6745. 000041F4  6700 00AA                beq        +0xAC /* 000042A0 */
  6746. 000041F8  7000                     moveq.l    D0, 0x00
  6747. 000041FA  2F00                     move.l     -[A7], D0
  6748. 000041FC  7202                     moveq.l    D1, 0x02
  6749. 000041FE  2F01                     move.l     -[A7], D1
  6750. 00004200  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6751. 00004206  7003                     moveq.l    D0, 0x03
  6752. 00004208  2F00                     move.l     -[A7], D0
  6753. 0000420A  2F07                     move.l     -[A7], D7
  6754. 0000420C  4EBA C566                jsr        [PC - 0x3A9A /* 00000774 */]
  6755. 00004210  7001                     moveq.l    D0, 0x01
  6756. 00004212  2F00                     move.l     -[A7], D0
  6757. 00004214  7205                     moveq.l    D1, 0x05
  6758. 00004216  2F01                     move.l     -[A7], D1
  6759. 00004218  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6760. 0000421E  7003                     moveq.l    D0, 0x03
  6761. 00004220  2F00                     move.l     -[A7], D0
  6762. 00004222  2F07                     move.l     -[A7], D7
  6763. 00004224  4EBA C54E                jsr        [PC - 0x3AB2 /* 00000774 */]
  6764. 00004228  7000                     moveq.l    D0, 0x00
  6765. 0000422A  2D40 FFF0                move.l     [A6 - 0x10], D0
  6766. 0000422E  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6767. 00004232  2049                     movea.l    A0, A1
  6768. 00004234  A058                     syscall    InsTime
  6769. 00004236  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6770. 0000423A  2049                     movea.l    A0, A1
  6771. 0000423C  203C FFFE A070           move.l     D0, 0xFFFEA070
  6772. 00004242  A05A                     syscall    PrimeTime
  6773. 00004244  4FEF 0028                lea.l      A7, [A7 + 0x28]
  6774. 00004248  601C                     bra        +0x1E /* 00004266 */
  6775. label0000424A:
  6776. 0000424A  7000                     moveq.l    D0, 0x00
  6777. 0000424C  2F00                     move.l     -[A7], D0
  6778. 0000424E  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6779. 00004254  7203                     moveq.l    D1, 0x03
  6780. 00004256  2F01                     move.l     -[A7], D1
  6781. 00004258  2F07                     move.l     -[A7], D7
  6782. 0000425A  4EBA C8C6                jsr        [PC - 0x373A /* 00000B22 */]
  6783. 0000425E  4A40                     tst.w      D0
  6784. 00004260  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6785. 00004264  6706                     beq        +0x8 /* 0000426C */
  6786. label00004266:
  6787. 00004266  4A6E FFEE                tst.w      [A6 - 0x12]
  6788. 0000426A  6DDE                     blt        -0x20 /* 0000424A */
  6789. label0000426C:
  6790. 0000426C  43EE FFEA                lea.l      A1, [A6 - 0x16]
  6791. 00004270  2049                     movea.l    A0, A1
  6792. 00004272  A059                     syscall    RmvTime
  6793. 00004274  4AAE FFF4                tst.l      [A6 - 0xC]
  6794. 00004278  6600 0EC0                bne        +0xEC2 /* 0000513A */
  6795. 0000427C  7001                     moveq.l    D0, 0x01
  6796. 0000427E  2F00                     move.l     -[A7], D0
  6797. 00004280  7208                     moveq.l    D1, 0x08
  6798. 00004282  2F01                     move.l     -[A7], D1
  6799. 00004284  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6800. 0000428A  7003                     moveq.l    D0, 0x03
  6801. 0000428C  2F00                     move.l     -[A7], D0
  6802. 0000428E  2F07                     move.l     -[A7], D7
  6803. 00004290  4EBA C4E2                jsr        [PC - 0x3B1E /* 00000774 */]
  6804. 00004294  3A3C E0AE                move.w     D5, 0xE0AE
  6805. 00004298  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6806. 0000429C  6000 0E9C                bra        +0xE9E /* 0000513A */
  6807. label000042A0:
  6808. 000042A0  7802                     moveq.l    D4, 0x02
  6809. label000042A2:
  6810. 000042A2  7001                     moveq.l    D0, 0x01
  6811. 000042A4  2F00                     move.l     -[A7], D0
  6812. 000042A6  7205                     moveq.l    D1, 0x05
  6813. 000042A8  2F01                     move.l     -[A7], D1
  6814. 000042AA  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6815. 000042B0  7003                     moveq.l    D0, 0x03
  6816. 000042B2  2F00                     move.l     -[A7], D0
  6817. 000042B4  2F07                     move.l     -[A7], D7
  6818. 000042B6  4EBA C4BC                jsr        [PC - 0x3B44 /* 00000774 */]
  6819. 000042BA  7001                     moveq.l    D0, 0x01
  6820. 000042BC  2F00                     move.l     -[A7], D0
  6821. 000042BE  2F0C                     move.l     -[A7], A4
  6822. 000042C0  4EBA CAD6                jsr        [PC - 0x352A /* 00000D98 */]
  6823. 000042C4  3A00                     move.w     D5, D0
  6824. 000042C6  7000                     moveq.l    D0, 0x00
  6825. 000042C8  2F00                     move.l     -[A7], D0
  6826. 000042CA  7205                     moveq.l    D1, 0x05
  6827. 000042CC  2F01                     move.l     -[A7], D1
  6828. 000042CE  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6829. 000042D4  7003                     moveq.l    D0, 0x03
  6830. 000042D6  2F00                     move.l     -[A7], D0
  6831. 000042D8  2F07                     move.l     -[A7], D7
  6832. 000042DA  4EBA C498                jsr        [PC - 0x3B68 /* 00000774 */]
  6833. 000042DE  7000                     moveq.l    D0, 0x00
  6834. 000042E0  2F00                     move.l     -[A7], D0
  6835. 000042E2  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6836. 000042E8  7203                     moveq.l    D1, 0x03
  6837. 000042EA  2F01                     move.l     -[A7], D1
  6838. 000042EC  2F07                     move.l     -[A7], D7
  6839. 000042EE  4EBA C832                jsr        [PC - 0x37CE /* 00000B22 */]
  6840. 000042F2  4A40                     tst.w      D0
  6841. 000042F4  4FEF 0040                lea.l      A7, [A7 + 0x40]
  6842. 000042F8  6616                     bne        +0x18 /* 00004310 */
  6843. 000042FA  7000                     moveq.l    D0, 0x00
  6844. 000042FC  2F00                     move.l     -[A7], D0
  6845. 000042FE  2F0C                     move.l     -[A7], A4
  6846. 00004300  4EBA CA96                jsr        [PC - 0x356A /* 00000D98 */]
  6847. 00004304  3A00                     move.w     D5, D0
  6848. 00004306  504F                     addq.w     A7, 8
  6849. 00004308  3004                     move.w     D0, D4
  6850. 0000430A  5244                     addq.w     D4, 1
  6851. 0000430C  4A44                     tst.w      D4
  6852. 0000430E  6C92                     bge        -0x6C /* 000042A2 */
  6853. label00004310:
  6854. 00004310  4A44                     tst.w      D4
  6855. 00004312  6D2C                     blt        +0x2E /* 00004340 */
  6856. 00004314  7000                     moveq.l    D0, 0x00
  6857. 00004316  2F00                     move.l     -[A7], D0
  6858. 00004318  2F0C                     move.l     -[A7], A4
  6859. 0000431A  4EBA CA7C                jsr        [PC - 0x3584 /* 00000D98 */]
  6860. 0000431E  3A00                     move.w     D5, D0
  6861. 00004320  7001                     moveq.l    D0, 0x01
  6862. 00004322  2F00                     move.l     -[A7], D0
  6863. 00004324  7208                     moveq.l    D1, 0x08
  6864. 00004326  2F01                     move.l     -[A7], D1
  6865. 00004328  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6866. 0000432E  7003                     moveq.l    D0, 0x03
  6867. 00004330  2F00                     move.l     -[A7], D0
  6868. 00004332  2F07                     move.l     -[A7], D7
  6869. 00004334  4EBA C43E                jsr        [PC - 0x3BC2 /* 00000774 */]
  6870. 00004338  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6871. 0000433C  6000 0DFC                bra        +0xDFE /* 0000513A */
  6872. label00004340:
  6873. 00004340  7001                     moveq.l    D0, 0x01
  6874. 00004342  2F00                     move.l     -[A7], D0
  6875. 00004344  7208                     moveq.l    D1, 0x08
  6876. 00004346  2F01                     move.l     -[A7], D1
  6877. 00004348  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6878. 0000434E  7003                     moveq.l    D0, 0x03
  6879. 00004350  2F00                     move.l     -[A7], D0
  6880. 00004352  2F07                     move.l     -[A7], D7
  6881. 00004354  4EBA C41E                jsr        [PC - 0x3BE2 /* 00000774 */]
  6882. 00004358  3A3C E094                move.w     D5, 0xE094
  6883. 0000435C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6884. 00004360  6000 0DD8                bra        +0xDDA /* 0000513A */
  6885. label00004364:
  6886. 00004364  7000                     moveq.l    D0, 0x00
  6887. 00004366  2F00                     move.l     -[A7], D0
  6888. 00004368  7202                     moveq.l    D1, 0x02
  6889. 0000436A  2F01                     move.l     -[A7], D1
  6890. 0000436C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6891. 00004372  7003                     moveq.l    D0, 0x03
  6892. 00004374  2F00                     move.l     -[A7], D0
  6893. 00004376  2F07                     move.l     -[A7], D7
  6894. 00004378  4EBA C3FA                jsr        [PC - 0x3C06 /* 00000774 */]
  6895. 0000437C  7001                     moveq.l    D0, 0x01
  6896. 0000437E  2F00                     move.l     -[A7], D0
  6897. 00004380  7205                     moveq.l    D1, 0x05
  6898. 00004382  2F01                     move.l     -[A7], D1
  6899. 00004384  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  6900. 0000438A  7003                     moveq.l    D0, 0x03
  6901. 0000438C  2F00                     move.l     -[A7], D0
  6902. 0000438E  2F07                     move.l     -[A7], D7
  6903. 00004390  4EBA C3E2                jsr        [PC - 0x3C1E /* 00000774 */]
  6904. 00004394  4FEF 0028                lea.l      A7, [A7 + 0x28]
  6905. 00004398  6000 0DA0                bra        +0xDA2 /* 0000513A */
  6906. label0000439C:
  6907. 0000439C  2F0C                     move.l     -[A7], A4
  6908. 0000439E  4EBA CA64                jsr        [PC - 0x359C /* 00000E04 */]
  6909. 000043A2  2F0C                     move.l     -[A7], A4
  6910. 000043A4  4EBA CE86                jsr        [PC - 0x317A /* 0000122C */]
  6911. 000043A8  2F0C                     move.l     -[A7], A4
  6912. 000043AA  4EBA D13E                jsr        [PC - 0x2EC2 /* 000014EA */]
  6913. 000043AE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6914. 000043B2  6000 0D86                bra        +0xD88 /* 0000513A */
  6915. label000043B6:
  6916. 000043B6  2F07                     move.l     -[A7], D7
  6917. 000043B8  4EBA C5FE                jsr        [PC - 0x3A02 /* 000009B8 */]
  6918. 000043BC  3800                     move.w     D4, D0
  6919. 000043BE  7004                     moveq.l    D0, 0x04
  6920. 000043C0  2F00                     move.l     -[A7], D0
  6921. 000043C2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6922. 000043C8  7203                     moveq.l    D1, 0x03
  6923. 000043CA  2F01                     move.l     -[A7], D1
  6924. 000043CC  2F07                     move.l     -[A7], D7
  6925. 000043CE  4EBA C752                jsr        [PC - 0x38AE /* 00000B22 */]
  6926. 000043D2  7201                     moveq.l    D1, 0x01
  6927. 000043D4  B340                     xor.w      D0, D1
  6928. 000043D6  48C0                     ext.l      D0
  6929. 000043D8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6930. 000043DC  2F00                     move.l     -[A7], D0
  6931. 000043DE  7004                     moveq.l    D0, 0x04
  6932. 000043E0  2F00                     move.l     -[A7], D0
  6933. 000043E2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6934. 000043E8  7203                     moveq.l    D1, 0x03
  6935. 000043EA  2F01                     move.l     -[A7], D1
  6936. 000043EC  2F07                     move.l     -[A7], D7
  6937. 000043EE  4EBA C384                jsr        [PC - 0x3C7C /* 00000774 */]
  6938. 000043F2  4878 03FF                push.l     0x3FF
  6939. 000043F6  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6940. 000043FC  7003                     moveq.l    D0, 0x03
  6941. 000043FE  2F00                     move.l     -[A7], D0
  6942. 00004400  2F07                     move.l     -[A7], D7
  6943. 00004402  4EBA C6BC                jsr        [PC - 0x3944 /* 00000AC0 */]
  6944. 00004406  3C00                     move.w     D6, D0
  6945. 00004408  7004                     moveq.l    D0, 0x04
  6946. 0000440A  2F00                     move.l     -[A7], D0
  6947. 0000440C  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  6948. 00004412  7203                     moveq.l    D1, 0x03
  6949. 00004414  2F01                     move.l     -[A7], D1
  6950. 00004416  2F07                     move.l     -[A7], D7
  6951. 00004418  4EBA C708                jsr        [PC - 0x38F8 /* 00000B22 */]
  6952. 0000441C  4A40                     tst.w      D0
  6953. 0000441E  4FEF 0038                lea.l      A7, [A7 + 0x38]
  6954. 00004422  6628                     bne        +0x2A /* 0000444C */
  6955. 00004424  48C6                     ext.l      D6
  6956. 00004426  2F0C                     move.l     -[A7], A4
  6957. 00004428  4EBA C896                jsr        [PC - 0x376A /* 00000CC0 */]
  6958. 0000442C  48C0                     ext.l      D0
  6959. 0000442E  5380                     subq.l     D0, 1
  6960. 00004430  D086                     add.l      D0, D6
  6961. 00004432  588F                     addq.l     A7, 4
  6962. 00004434  2F00                     move.l     -[A7], D0
  6963. 00004436  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6964. 0000443C  7003                     moveq.l    D0, 0x03
  6965. 0000443E  2F00                     move.l     -[A7], D0
  6966. 00004440  2F07                     move.l     -[A7], D7
  6967. 00004442  4EBA C2DE                jsr        [PC - 0x3D22 /* 00000722 */]
  6968. 00004446  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6969. 0000444A  6028                     bra        +0x2A /* 00004474 */
  6970. label0000444C:
  6971. 0000444C  48C6                     ext.l      D6
  6972. 0000444E  2F0C                     move.l     -[A7], A4
  6973. 00004450  4EBA C86E                jsr        [PC - 0x3792 /* 00000CC0 */]
  6974. 00004454  48C0                     ext.l      D0
  6975. 00004456  5380                     subq.l     D0, 1
  6976. 00004458  2206                     move.l     D1, D6
  6977. 0000445A  9280                     sub.l      D1, D0
  6978. 0000445C  588F                     addq.l     A7, 4
  6979. 0000445E  2F01                     move.l     -[A7], D1
  6980. 00004460  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  6981. 00004466  7003                     moveq.l    D0, 0x03
  6982. 00004468  2F00                     move.l     -[A7], D0
  6983. 0000446A  2F07                     move.l     -[A7], D7
  6984. 0000446C  4EBA C2B4                jsr        [PC - 0x3D4C /* 00000722 */]
  6985. 00004470  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6986. label00004474:
  6987. 00004474  48C6                     ext.l      D6
  6988. 00004476  2F06                     move.l     -[A7], D6
  6989. 00004478  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  6990. 0000447E  7002                     moveq.l    D0, 0x02
  6991. 00004480  2F00                     move.l     -[A7], D0
  6992. 00004482  2F07                     move.l     -[A7], D7
  6993. 00004484  4EBA C29C                jsr        [PC - 0x3D64 /* 00000722 */]
  6994. 00004488  4A44                     tst.w      D4
  6995. 0000448A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6996. 0000448E  6700 0CAA                beq        +0xCAC /* 0000513A */
  6997. 00004492  7001                     moveq.l    D0, 0x01
  6998. 00004494  2F00                     move.l     -[A7], D0
  6999. 00004496  7205                     moveq.l    D1, 0x05
  7000. 00004498  2F01                     move.l     -[A7], D1
  7001. 0000449A  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  7002. 000044A0  7003                     moveq.l    D0, 0x03
  7003. 000044A2  2F00                     move.l     -[A7], D0
  7004. 000044A4  2F07                     move.l     -[A7], D7
  7005. 000044A6  4EBA C2CC                jsr        [PC - 0x3D34 /* 00000774 */]
  7006. 000044AA  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7007. 000044AE  6000 0C8A                bra        +0xC8C /* 0000513A */
  7008. label000044B2:
  7009. 000044B2  2F07                     move.l     -[A7], D7
  7010. 000044B4  4EBA C502                jsr        [PC - 0x3AFE /* 000009B8 */]
  7011. 000044B8  3800                     move.w     D4, D0
  7012. 000044BA  7003                     moveq.l    D0, 0x03
  7013. 000044BC  2F00                     move.l     -[A7], D0
  7014. 000044BE  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  7015. 000044C4  2F00                     move.l     -[A7], D0
  7016. 000044C6  2F07                     move.l     -[A7], D7
  7017. 000044C8  4EBA C658                jsr        [PC - 0x39A8 /* 00000B22 */]
  7018. 000044CC  7201                     moveq.l    D1, 0x01
  7019. 000044CE  B340                     xor.w      D0, D1
  7020. 000044D0  48C0                     ext.l      D0
  7021. 000044D2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7022. 000044D6  2F00                     move.l     -[A7], D0
  7023. 000044D8  7003                     moveq.l    D0, 0x03
  7024. 000044DA  2F00                     move.l     -[A7], D0
  7025. 000044DC  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  7026. 000044E2  2F00                     move.l     -[A7], D0
  7027. 000044E4  2F07                     move.l     -[A7], D7
  7028. 000044E6  4EBA C28C                jsr        [PC - 0x3D74 /* 00000774 */]
  7029. 000044EA  4878 01FF                push.l     0x1FF
  7030. 000044EE  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  7031. 000044F4  7003                     moveq.l    D0, 0x03
  7032. 000044F6  2F00                     move.l     -[A7], D0
  7033. 000044F8  2F07                     move.l     -[A7], D7
  7034. 000044FA  4EBA C5C4                jsr        [PC - 0x3A3C /* 00000AC0 */]
  7035. 000044FE  3C00                     move.w     D6, D0
  7036. 00004500  7003                     moveq.l    D0, 0x03
  7037. 00004502  2F00                     move.l     -[A7], D0
  7038. 00004504  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  7039. 0000450A  2F00                     move.l     -[A7], D0
  7040. 0000450C  2F07                     move.l     -[A7], D7
  7041. 0000450E  4EBA C612                jsr        [PC - 0x39EE /* 00000B22 */]
  7042. 00004512  4A40                     tst.w      D0
  7043. 00004514  4FEF 0038                lea.l      A7, [A7 + 0x38]
  7044. 00004518  6642                     bne        +0x44 /* 0000455C */
  7045. 0000451A  48C6                     ext.l      D6
  7046. 0000451C  2F07                     move.l     -[A7], D7
  7047. 0000451E  4EBA C6AC                jsr        [PC - 0x3954 /* 00000BCC */]
  7048. 00004522  48C0                     ext.l      D0
  7049. 00004524  5380                     subq.l     D0, 1
  7050. 00004526  D086                     add.l      D0, D6
  7051. 00004528  588F                     addq.l     A7, 4
  7052. 0000452A  2F00                     move.l     -[A7], D0
  7053. 0000452C  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  7054. 00004532  7003                     moveq.l    D0, 0x03
  7055. 00004534  2F00                     move.l     -[A7], D0
  7056. 00004536  2F07                     move.l     -[A7], D7
  7057. 00004538  4EBA C1E8                jsr        [PC - 0x3E18 /* 00000722 */]
  7058. 0000453C  3006                     move.w     D0, D6
  7059. 0000453E  E240                     asr        D0.w, 1
  7060. 00004540  48C0                     ext.l      D0
  7061. 00004542  5380                     subq.l     D0, 1
  7062. 00004544  2F00                     move.l     -[A7], D0
  7063. 00004546  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  7064. 0000454C  7002                     moveq.l    D0, 0x02
  7065. 0000454E  2F00                     move.l     -[A7], D0
  7066. 00004550  2F07                     move.l     -[A7], D7
  7067. 00004552  4EBA C1CE                jsr        [PC - 0x3E32 /* 00000722 */]
  7068. 00004556  4FEF 0020                lea.l      A7, [A7 + 0x20]
  7069. 0000455A  6042                     bra        +0x44 /* 0000459E */
  7070. label0000455C:
  7071. 0000455C  48C6                     ext.l      D6
  7072. 0000455E  2F07                     move.l     -[A7], D7
  7073. 00004560  4EBA C66A                jsr        [PC - 0x3996 /* 00000BCC */]
  7074. 00004564  48C0                     ext.l      D0
  7075. 00004566  5380                     subq.l     D0, 1
  7076. 00004568  2206                     move.l     D1, D6
  7077. 0000456A  9280                     sub.l      D1, D0
  7078. 0000456C  588F                     addq.l     A7, 4
  7079. 0000456E  2F01                     move.l     -[A7], D1
  7080. 00004570  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  7081. 00004576  7003                     moveq.l    D0, 0x03
  7082. 00004578  2F00                     move.l     -[A7], D0
  7083. 0000457A  2F07                     move.l     -[A7], D7
  7084. 0000457C  4EBA C1A4                jsr        [PC - 0x3E5C /* 00000722 */]
  7085. 00004580  3006                     move.w     D0, D6
  7086. 00004582  E240                     asr        D0.w, 1
  7087. 00004584  48C0                     ext.l      D0
  7088. 00004586  5280                     addq.l     D0, 1
  7089. 00004588  2F00                     move.l     -[A7], D0
  7090. 0000458A  2F3C 00FE 7018           move.l     -[A7], 0xFE7018
  7091. 00004590  7002                     moveq.l    D0, 0x02
  7092. 00004592  2F00                     move.l     -[A7], D0
  7093. 00004594  2F07                     move.l     -[A7], D7
  7094. 00004596  4EBA C18A                jsr        [PC - 0x3E76 /* 00000722 */]
  7095. 0000459A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  7096. label0000459E:
  7097. 0000459E  4A44                     tst.w      D4
  7098. 000045A0  6700 0B98                beq        +0xB9A /* 0000513A */
  7099. 000045A4  7001                     moveq.l    D0, 0x01
  7100. 000045A6  2F00                     move.l     -[A7], D0
  7101. 000045A8  7205                     moveq.l    D1, 0x05
  7102. 000045AA  2F01                     move.l     -[A7], D1
  7103. 000045AC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  7104. 000045B2  7003                     moveq.l    D0, 0x03
  7105. 000045B4  2F00                     move.l     -[A7], D0
  7106. 000045B6  2F07                     move.l     -[A7], D7
  7107. 000045B8  4EBA C1BA                jsr        [PC - 0x3E46 /* 00000774 */]
  7108. 000045BC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7109. 000045C0  6000 0B78                bra        +0xB7A /* 0000513A */
  7110. label000045C4:
  7111. 000045C4  302B 001C                move.w     D0, [A3 + 0x1C]
  7112. 000045C8  E040                     asr        D0.w, 8
  7113. 000045CA  0C40 0052                cmpi.w     D0, 0x52 /* 'R' */
  7114. 000045CE  662C                     bne        +0x2E /* 000045FC */
  7115. 000045D0  2F0C                     move.l     -[A7], A4
  7116. 000045D2  302B 001E                move.w     D0, [A3 + 0x1E]
  7117. 000045D6  48C0                     ext.l      D0
  7118. 000045D8  2F00                     move.l     -[A7], D0
  7119. 000045DA  303C 00FF                move.w     D0, 0xFF
  7120. 000045DE  C06B 001C                and.w      D0, [A3 + 0x1C]
  7121. 000045E2  7200                     moveq.l    D1, 0x00
  7122. 000045E4  3200                     move.w     D1, D0
  7123. 000045E6  4A81                     tst.l      D1
  7124. 000045E8  2F01                     move.l     -[A7], D1
  7125. 000045EA  4878 00A0                push.l     0xA0
  7126. 000045EE  4EBA CFA6                jsr        [PC - 0x305A /* 00001596 */]
  7127. 000045F2  3A00                     move.w     D5, D0
  7128. 000045F4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7129. 000045F8  6000 0B40                bra        +0xB42 /* 0000513A */
  7130. label000045FC:
  7131. 000045FC  703F                     moveq.l    D0, 0x3F
  7132. 000045FE  2F00                     move.l     -[A7], D0
  7133. 00004600  7200                     moveq.l    D1, 0x00
  7134. 00004602  2F01                     move.l     -[A7], D1
  7135. 00004604  342B 001C                move.w     D2, [A3 + 0x1C]
  7136. 00004608  48C2                     ext.l      D2
  7137. 0000460A  2F02                     move.l     -[A7], D2
  7138. 0000460C  4EBA C0EE                jsr        [PC - 0x3F12 /* 000006FC */]
  7139. 00004610  4A40                     tst.w      D0
  7140. 00004612  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7141. 00004616  6608                     bne        +0xA /* 00004620 */
  7142. 00004618  3A3C E0AC                move.w     D5, 0xE0AC
  7143. 0000461C  6000 0B1C                bra        +0xB1E /* 0000513A */
  7144. label00004620:
  7145. 00004620  2F0C                     move.l     -[A7], A4
  7146. 00004622  302B 001E                move.w     D0, [A3 + 0x1E]
  7147. 00004626  48C0                     ext.l      D0
  7148. 00004628  2F00                     move.l     -[A7], D0
  7149. 0000462A  302B 001C                move.w     D0, [A3 + 0x1C]
  7150. 0000462E  48C0                     ext.l      D0
  7151. 00004630  D0BC 0000 00C0           add.l      D0, 0xC0
  7152. 00004636  2F00                     move.l     -[A7], D0
  7153. 00004638  4878 00A0                push.l     0xA0
  7154. 0000463C  4EBA CF58                jsr        [PC - 0x30A8 /* 00001596 */]
  7155. 00004640  3A00                     move.w     D5, D0
  7156. 00004642  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7157. 00004646  6000 0AF2                bra        +0xAF4 /* 0000513A */
  7158. label0000464A:
  7159. 0000464A  4A6B 001C                tst.w      [A3 + 0x1C]
  7160. 0000464E  673C                     beq        +0x3E /* 0000468C */
  7161. 00004650  206C 000A                movea.l    A0, [A4 + 0xA]
  7162. 00004654  2050                     movea.l    A0, [A0]
  7163. 00004656  4A68 0718                tst.w      [A0 + 0x718]
  7164. 0000465A  6708                     beq        +0xA /* 00004664 */
  7165. 0000465C  3A3C E0AB                move.w     D5, 0xE0AB
  7166. 00004660  6000 0AD8                bra        +0xADA /* 0000513A */
  7167. label00004664:
  7168. 00004664  206C 000A                movea.l    A0, [A4 + 0xA]
  7169. 00004668  2050                     movea.l    A0, [A0]
  7170. 0000466A  317C 0001 0718           move.w     [A0 + 0x718], 0x1
  7171. 00004670  526C 002A                addq.w     [A4 + 0x2A], 1
  7172. 00004674  7000                     moveq.l    D0, 0x00
  7173. 00004676  302C 002A                move.w     D0, [A4 + 0x2A]
  7174. 0000467A  4A80                     tst.l      D0
  7175. 0000467C  6604                     bne        +0x6 /* 00004682 */
  7176. 0000467E  526C 002A                addq.w     [A4 + 0x2A], 1
  7177. label00004682:
  7178. 00004682  376C 002A 001E           move.w     [A3 + 0x1E], [A4 + 0x2A]
  7179. 00004688  6000 0AB0                bra        +0xAB2 /* 0000513A */
  7180. label0000468C:
  7181. 0000468C  206C 000A                movea.l    A0, [A4 + 0xA]
  7182. 00004690  2050                     movea.l    A0, [A0]
  7183. 00004692  4268 0718                clr.w      [A0 + 0x718]
  7184. 00004696  6000 0AA2                bra        +0xAA4 /* 0000513A */
  7185. label0000469A:
  7186. 0000469A  7062                     moveq.l    D0, 0x62
  7187. 0000469C  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7188. 000046A0  6600 008A                bne        +0x8C /* 0000472C */
  7189. 000046A4  2F0C                     move.l     -[A7], A4
  7190. 000046A6  7000                     moveq.l    D0, 0x00
  7191. 000046A8  102C 0034                move.b     D0, [A4 + 0x34]
  7192. 000046AC  4A80                     tst.l      D0
  7193. 000046AE  72DF                     moveq.l    D1, 0xFFFFFFDF
  7194. 000046B0  C200                     and.b      D1, D0
  7195. 000046B2  7000                     moveq.l    D0, 0x00
  7196. 000046B4  1001                     move.b     D0, D1
  7197. 000046B6  4A80                     tst.l      D0
  7198. 000046B8  4A6B 001C                tst.w      [A3 + 0x1C]
  7199. 000046BC  6704                     beq        +0x6 /* 000046C2 */
  7200. 000046BE  7220                     moveq.l    D1, 0x20
  7201. 000046C0  6002                     bra        +0x4 /* 000046C4 */
  7202. label000046C2:
  7203. 000046C2  7200                     moveq.l    D1, 0x00
  7204. label000046C4:
  7205. 000046C4  49C1                     lea.l      A4, D1
  7206. 000046C6  8200                     or.b       D1, D0
  7207. 000046C8  2F01                     move.l     -[A7], D1
  7208. 000046CA  7008                     moveq.l    D0, 0x08
  7209. 000046CC  2F00                     move.l     -[A7], D0
  7210. 000046CE  4878 008A                push.l     0x8A
  7211. 000046D2  4EBA CEC2                jsr        [PC - 0x313E /* 00001596 */]
  7212. 000046D6  4A6C 0026                tst.w      [A4 + 0x26]
  7213. 000046DA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7214. 000046DE  6628                     bne        +0x2A /* 00004708 */
  7215. 000046E0  2F0C                     move.l     -[A7], A4
  7216. 000046E2  4A6B 001C                tst.w      [A3 + 0x1C]
  7217. 000046E6  6704                     beq        +0x6 /* 000046EC */
  7218. 000046E8  7021                     moveq.l    D0, 0x21
  7219. 000046EA  6006                     bra        +0x8 /* 000046F2 */
  7220. label000046EC:
  7221. 000046EC  203C 0000 00FF           move.l     D0, 0xFF
  7222. label000046F2:
  7223. 000046F2  2F00                     move.l     -[A7], D0
  7224. 000046F4  7005                     moveq.l    D0, 0x05
  7225. 000046F6  2F00                     move.l     -[A7], D0
  7226. 000046F8  4878 008A                push.l     0x8A
  7227. 000046FC  4EBA CE98                jsr        [PC - 0x3168 /* 00001596 */]
  7228. 00004700  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7229. 00004704  6000 0A34                bra        +0xA36 /* 0000513A */
  7230. label00004708:
  7231. 00004708  2F0C                     move.l     -[A7], A4
  7232. 0000470A  4A6B 001C                tst.w      [A3 + 0x1C]
  7233. 0000470E  6704                     beq        +0x6 /* 00004714 */
  7234. 00004710  7023                     moveq.l    D0, 0x23
  7235. 00004712  6002                     bra        +0x4 /* 00004716 */
  7236. label00004714:
  7237. 00004714  7000                     moveq.l    D0, 0x00
  7238. label00004716:
  7239. 00004716  2F00                     move.l     -[A7], D0
  7240. 00004718  7005                     moveq.l    D0, 0x05
  7241. 0000471A  2F00                     move.l     -[A7], D0
  7242. 0000471C  4878 008A                push.l     0x8A
  7243. 00004720  4EBA CE74                jsr        [PC - 0x318C /* 00001596 */]
  7244. 00004724  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7245. 00004728  6000 0A10                bra        +0xA12 /* 0000513A */
  7246. label0000472C:
  7247. 0000472C  2F0C                     move.l     -[A7], A4
  7248. 0000472E  7000                     moveq.l    D0, 0x00
  7249. 00004730  102C 0039                move.b     D0, [A4 + 0x39]
  7250. 00004734  4A80                     tst.l      D0
  7251. 00004736  323C FF7F                move.w     D1, 0xFF7F
  7252. 0000473A  C240                     and.w      D1, D0
  7253. 0000473C  7000                     moveq.l    D0, 0x00
  7254. 0000473E  3001                     move.w     D0, D1
  7255. 00004740  4A80                     tst.l      D0
  7256. 00004742  4A6B 001C                tst.w      [A3 + 0x1C]
  7257. 00004746  6708                     beq        +0xA /* 00004750 */
  7258. 00004748  223C 0000 0080           move.l     D1, 0x80
  7259. 0000474E  6002                     bra        +0x4 /* 00004752 */
  7260. label00004750:
  7261. 00004750  7200                     moveq.l    D1, 0x00
  7262. label00004752:
  7263. 00004752  7400                     moveq.l    D2, 0x00
  7264. 00004754  1401                     move.b     D2, D1
  7265. 00004756  4A82                     tst.l      D2
  7266. 00004758  8440                     or.w       D2, D0
  7267. 0000475A  2F02                     move.l     -[A7], D2
  7268. 0000475C  700D                     moveq.l    D0, 0x0D
  7269. 0000475E  2F00                     move.l     -[A7], D0
  7270. 00004760  4878 008A                push.l     0x8A
  7271. 00004764  4EBA CE30                jsr        [PC - 0x31D0 /* 00001596 */]
  7272. 00004768  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7273. 0000476C  6000 09CC                bra        +0x9CE /* 0000513A */
  7274. label00004770:
  7275. 00004770  2F07                     move.l     -[A7], D7
  7276. 00004772  4EBA C244                jsr        [PC - 0x3DBC /* 000009B8 */]
  7277. 00004776  3800                     move.w     D4, D0
  7278. 00004778  4A6B 001C                tst.w      [A3 + 0x1C]
  7279. 0000477C  6704                     beq        +0x6 /* 00004782 */
  7280. 0000477E  7000                     moveq.l    D0, 0x00
  7281. 00004780  6002                     bra        +0x4 /* 00004784 */
  7282. label00004782:
  7283. 00004782  7001                     moveq.l    D0, 0x01
  7284. label00004784:
  7285. 00004784  4880                     ext.w      D0
  7286. 00004786  3C00                     move.w     D6, D0
  7287. 00004788  4878 01FF                push.l     0x1FF
  7288. 0000478C  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  7289. 00004792  7002                     moveq.l    D0, 0x02
  7290. 00004794  2F00                     move.l     -[A7], D0
  7291. 00004796  2F07                     move.l     -[A7], D7
  7292. 00004798  4EBA C326                jsr        [PC - 0x3CDA /* 00000AC0 */]
  7293. 0000479C  323C 0080                move.w     D1, 0x80
  7294. 000047A0  C240                     and.w      D1, D0
  7295. 000047A2  7000                     moveq.l    D0, 0x00
  7296. 000047A4  3001                     move.w     D0, D1
  7297. 000047A6  4A80                     tst.l      D0
  7298. 000047A8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7299. 000047AC  6604                     bne        +0x6 /* 000047B2 */
  7300. 000047AE  0A46 0001                xori.w     D6, 0x1
  7301. label000047B2:
  7302. 000047B2  48C6                     ext.l      D6
  7303. 000047B4  2F06                     move.l     -[A7], D6
  7304. 000047B6  7005                     moveq.l    D0, 0x05
  7305. 000047B8  2F00                     move.l     -[A7], D0
  7306. 000047BA  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  7307. 000047C0  7203                     moveq.l    D1, 0x03
  7308. 000047C2  2F01                     move.l     -[A7], D1
  7309. 000047C4  2F07                     move.l     -[A7], D7
  7310. 000047C6  4EBA BFAC                jsr        [PC - 0x4054 /* 00000774 */]
  7311. 000047CA  4A44                     tst.w      D4
  7312. 000047CC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7313. 000047D0  6700 0968                beq        +0x96A /* 0000513A */
  7314. 000047D4  7001                     moveq.l    D0, 0x01
  7315. 000047D6  2F00                     move.l     -[A7], D0
  7316. 000047D8  7205                     moveq.l    D1, 0x05
  7317. 000047DA  2F01                     move.l     -[A7], D1
  7318. 000047DC  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  7319. 000047E2  7003                     moveq.l    D0, 0x03
  7320. 000047E4  2F00                     move.l     -[A7], D0
  7321. 000047E6  2F07                     move.l     -[A7], D7
  7322. 000047E8  4EBA BF8A                jsr        [PC - 0x4076 /* 00000774 */]
  7323. 000047EC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7324. 000047F0  6000 0948                bra        +0x94A /* 0000513A */
  7325. label000047F4:
  7326. 000047F4  7002                     moveq.l    D0, 0x02
  7327. 000047F6  2F00                     move.l     -[A7], D0
  7328. 000047F8  7200                     moveq.l    D1, 0x00
  7329. 000047FA  2F01                     move.l     -[A7], D1
  7330. 000047FC  342B 001C                move.w     D2, [A3 + 0x1C]
  7331. 00004800  48C2                     ext.l      D2
  7332. 00004802  2F02                     move.l     -[A7], D2
  7333. 00004804  4EBA BEF6                jsr        [PC - 0x410A /* 000006FC */]
  7334. 00004808  4A40                     tst.w      D0
  7335. 0000480A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7336. 0000480E  6608                     bne        +0xA /* 00004818 */
  7337. 00004810  3A3C E0A2                move.w     D5, 0xE0A2
  7338. 00004814  6000 0924                bra        +0x926 /* 0000513A */
  7339. label00004818:
  7340. 00004818  396B 001C 0026           move.w     [A4 + 0x26], [A3 + 0x1C]
  7341. 0000481E  4A6B 001C                tst.w      [A3 + 0x1C]
  7342. 00004822  6600 0138                bne        +0x13A /* 0000495C */
  7343. 00004826  397C 001F 0010           move.w     [A4 + 0x10], 0x1F
  7344. 0000482C  397C 02DC 0012           move.w     [A4 + 0x12], 0x2DC
  7345. 00004832  397C 029A 0014           move.w     [A4 + 0x14], 0x29A
  7346. 00004838  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  7347. 0000483E  397C 00FF 0018           move.w     [A4 + 0x18], 0xFF
  7348. 00004844  397C 01FC 001A           move.w     [A4 + 0x1A], 0x1FC
  7349. 0000484A  7062                     moveq.l    D0, 0x62
  7350. 0000484C  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7351. 00004850  6600 0092                bne        +0x94 /* 000048E4 */
  7352. 00004854  2F0C                     move.l     -[A7], A4
  7353. 00004856  7000                     moveq.l    D0, 0x00
  7354. 00004858  102C 0034                move.b     D0, [A4 + 0x34]
  7355. 0000485C  4A80                     tst.l      D0
  7356. 0000485E  7220                     moveq.l    D1, 0x20
  7357. 00004860  C200                     and.b      D1, D0
  7358. 00004862  6704                     beq        +0x6 /* 00004868 */
  7359. 00004864  7021                     moveq.l    D0, 0x21
  7360. 00004866  6006                     bra        +0x8 /* 0000486E */
  7361. label00004868:
  7362. 00004868  203C 0000 00FF           move.l     D0, 0xFF
  7363. label0000486E:
  7364. 0000486E  2F00                     move.l     -[A7], D0
  7365. 00004870  7005                     moveq.l    D0, 0x05
  7366. 00004872  2F00                     move.l     -[A7], D0
  7367. 00004874  4878 008A                push.l     0x8A
  7368. 00004878  4EBA CD1C                jsr        [PC - 0x32E4 /* 00001596 */]
  7369. 0000487C  2F0C                     move.l     -[A7], A4
  7370. 0000487E  7023                     moveq.l    D0, 0x23
  7371. 00004880  2F00                     move.l     -[A7], D0
  7372. 00004882  7206                     moveq.l    D1, 0x06
  7373. 00004884  2F01                     move.l     -[A7], D1
  7374. 00004886  4878 008A                push.l     0x8A
  7375. 0000488A  4EBA CD0A                jsr        [PC - 0x32F6 /* 00001596 */]
  7376. 0000488E  2F0C                     move.l     -[A7], A4
  7377. 00004890  7000                     moveq.l    D0, 0x00
  7378. 00004892  102C 0034                move.b     D0, [A4 + 0x34]
  7379. 00004896  4A80                     tst.l      D0
  7380. 00004898  7220                     moveq.l    D1, 0x20
  7381. 0000489A  C200                     and.b      D1, D0
  7382. 0000489C  7000                     moveq.l    D0, 0x00
  7383. 0000489E  1001                     move.b     D0, D1
  7384. 000048A0  4A80                     tst.l      D0
  7385. 000048A2  7257                     moveq.l    D1, 0x57
  7386. 000048A4  8200                     or.b       D1, D0
  7387. 000048A6  7000                     moveq.l    D0, 0x00
  7388. 000048A8  1001                     move.b     D0, D1
  7389. 000048AA  4A80                     tst.l      D0
  7390. 000048AC  2F00                     move.l     -[A7], D0
  7391. 000048AE  7008                     moveq.l    D0, 0x08
  7392. 000048B0  2F00                     move.l     -[A7], D0
  7393. 000048B2  4878 008A                push.l     0x8A
  7394. 000048B6  4EBA CCDE                jsr        [PC - 0x3322 /* 00001596 */]
  7395. 000048BA  2F0C                     move.l     -[A7], A4
  7396. 000048BC  7000                     moveq.l    D0, 0x00
  7397. 000048BE  102C 0036                move.b     D0, [A4 + 0x36]
  7398. 000048C2  4A80                     tst.l      D0
  7399. 000048C4  7201                     moveq.l    D1, 0x01
  7400. 000048C6  8200                     or.b       D1, D0
  7401. 000048C8  7000                     moveq.l    D0, 0x00
  7402. 000048CA  1001                     move.b     D0, D1
  7403. 000048CC  4A80                     tst.l      D0
  7404. 000048CE  2F00                     move.l     -[A7], D0
  7405. 000048D0  700A                     moveq.l    D0, 0x0A
  7406. 000048D2  2F00                     move.l     -[A7], D0
  7407. 000048D4  4878 008A                push.l     0x8A
  7408. 000048D8  4EBA CCBC                jsr        [PC - 0x3344 /* 00001596 */]
  7409. 000048DC  4FEF 0040                lea.l      A7, [A7 + 0x40]
  7410. 000048E0  6000 0858                bra        +0x85A /* 0000513A */
  7411. label000048E4:
  7412. 000048E4  2F0C                     move.l     -[A7], A4
  7413. 000048E6  7000                     moveq.l    D0, 0x00
  7414. 000048E8  102C 003B                move.b     D0, [A4 + 0x3B]
  7415. 000048EC  4A80                     tst.l      D0
  7416. 000048EE  7240                     moveq.l    D1, 0x40
  7417. 000048F0  8200                     or.b       D1, D0
  7418. 000048F2  7000                     moveq.l    D0, 0x00
  7419. 000048F4  1001                     move.b     D0, D1
  7420. 000048F6  4A80                     tst.l      D0
  7421. 000048F8  2F00                     move.l     -[A7], D0
  7422. 000048FA  700F                     moveq.l    D0, 0x0F
  7423. 000048FC  2F00                     move.l     -[A7], D0
  7424. 000048FE  4878 008A                push.l     0x8A
  7425. 00004902  4EBA CC92                jsr        [PC - 0x336E /* 00001596 */]
  7426. 00004906  2F0C                     move.l     -[A7], A4
  7427. 00004908  7000                     moveq.l    D0, 0x00
  7428. 0000490A  102C 0039                move.b     D0, [A4 + 0x39]
  7429. 0000490E  4A80                     tst.l      D0
  7430. 00004910  72FE                     moveq.l    D1, 0xFFFFFFFE
  7431. 00004912  C200                     and.b      D1, D0
  7432. 00004914  7000                     moveq.l    D0, 0x00
  7433. 00004916  1001                     move.b     D0, D1
  7434. 00004918  4A80                     tst.l      D0
  7435. 0000491A  2F00                     move.l     -[A7], D0
  7436. 0000491C  700D                     moveq.l    D0, 0x0D
  7437. 0000491E  2F00                     move.l     -[A7], D0
  7438. 00004920  4878 008A                push.l     0x8A
  7439. 00004924  4EBA CC70                jsr        [PC - 0x3390 /* 00001596 */]
  7440. 00004928  2F0C                     move.l     -[A7], A4
  7441. 0000492A  7000                     moveq.l    D0, 0x00
  7442. 0000492C  102C 0032                move.b     D0, [A4 + 0x32]
  7443. 00004930  4A80                     tst.l      D0
  7444. 00004932  72FC                     moveq.l    D1, 0xFFFFFFFC
  7445. 00004934  C200                     and.b      D1, D0
  7446. 00004936  7000                     moveq.l    D0, 0x00
  7447. 00004938  1001                     move.b     D0, D1
  7448. 0000493A  4A80                     tst.l      D0
  7449. 0000493C  7203                     moveq.l    D1, 0x03
  7450. 0000493E  8200                     or.b       D1, D0
  7451. 00004940  7000                     moveq.l    D0, 0x00
  7452. 00004942  1001                     move.b     D0, D1
  7453. 00004944  4A80                     tst.l      D0
  7454. 00004946  2F00                     move.l     -[A7], D0
  7455. 00004948  7006                     moveq.l    D0, 0x06
  7456. 0000494A  2F00                     move.l     -[A7], D0
  7457. 0000494C  4878 008A                push.l     0x8A
  7458. 00004950  4EBA CC44                jsr        [PC - 0x33BC /* 00001596 */]
  7459. 00004954  4FEF 0030                lea.l      A7, [A7 + 0x30]
  7460. 00004958  6000 07E0                bra        +0x7E2 /* 0000513A */
  7461. label0000495C:
  7462. 0000495C  7001                     moveq.l    D0, 0x01
  7463. 0000495E  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  7464. 00004962  6600 0134                bne        +0x136 /* 00004A98 */
  7465. 00004966  397C 001C 0010           move.w     [A4 + 0x10], 0x1C
  7466. 0000496C  397C 0372 0012           move.w     [A4 + 0x12], 0x372
  7467. 00004972  397C 02A2 0014           move.w     [A4 + 0x14], 0x2A2
  7468. 00004978  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  7469. 0000497E  397C 0131 0018           move.w     [A4 + 0x18], 0x131
  7470. 00004984  397C 01FE 001A           move.w     [A4 + 0x1A], 0x1FE
  7471. 0000498A  7062                     moveq.l    D0, 0x62
  7472. 0000498C  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7473. 00004990  6600 008E                bne        +0x90 /* 00004A20 */
  7474. 00004994  2F0C                     move.l     -[A7], A4
  7475. 00004996  7000                     moveq.l    D0, 0x00
  7476. 00004998  102C 0034                move.b     D0, [A4 + 0x34]
  7477. 0000499C  4A80                     tst.l      D0
  7478. 0000499E  7220                     moveq.l    D1, 0x20
  7479. 000049A0  C200                     and.b      D1, D0
  7480. 000049A2  6704                     beq        +0x6 /* 000049A8 */
  7481. 000049A4  7023                     moveq.l    D0, 0x23
  7482. 000049A6  6002                     bra        +0x4 /* 000049AA */
  7483. label000049A8:
  7484. 000049A8  7000                     moveq.l    D0, 0x00
  7485. label000049AA:
  7486. 000049AA  2F00                     move.l     -[A7], D0
  7487. 000049AC  7005                     moveq.l    D0, 0x05
  7488. 000049AE  2F00                     move.l     -[A7], D0
  7489. 000049B0  4878 008A                push.l     0x8A
  7490. 000049B4  4EBA CBE0                jsr        [PC - 0x3420 /* 00001596 */]
  7491. 000049B8  2F0C                     move.l     -[A7], A4
  7492. 000049BA  7001                     moveq.l    D0, 0x01
  7493. 000049BC  2F00                     move.l     -[A7], D0
  7494. 000049BE  7206                     moveq.l    D1, 0x06
  7495. 000049C0  2F01                     move.l     -[A7], D1
  7496. 000049C2  4878 008A                push.l     0x8A
  7497. 000049C6  4EBA CBCE                jsr        [PC - 0x3432 /* 00001596 */]
  7498. 000049CA  2F0C                     move.l     -[A7], A4
  7499. 000049CC  7000                     moveq.l    D0, 0x00
  7500. 000049CE  102C 0034                move.b     D0, [A4 + 0x34]
  7501. 000049D2  4A80                     tst.l      D0
  7502. 000049D4  7220                     moveq.l    D1, 0x20
  7503. 000049D6  C200                     and.b      D1, D0
  7504. 000049D8  7000                     moveq.l    D0, 0x00
  7505. 000049DA  1001                     move.b     D0, D1
  7506. 000049DC  4A80                     tst.l      D0
  7507. 000049DE  7218                     moveq.l    D1, 0x18
  7508. 000049E0  8200                     or.b       D1, D0
  7509. 000049E2  7000                     moveq.l    D0, 0x00
  7510. 000049E4  1001                     move.b     D0, D1
  7511. 000049E6  4A80                     tst.l      D0
  7512. 000049E8  2F00                     move.l     -[A7], D0
  7513. 000049EA  7008                     moveq.l    D0, 0x08
  7514. 000049EC  2F00                     move.l     -[A7], D0
  7515. 000049EE  4878 008A                push.l     0x8A
  7516. 000049F2  4EBA CBA2                jsr        [PC - 0x345E /* 00001596 */]
  7517. 000049F6  2F0C                     move.l     -[A7], A4
  7518. 000049F8  7000                     moveq.l    D0, 0x00
  7519. 000049FA  102C 0036                move.b     D0, [A4 + 0x36]
  7520. 000049FE  4A80                     tst.l      D0
  7521. 00004A00  72FE                     moveq.l    D1, 0xFFFFFFFE
  7522. 00004A02  C200                     and.b      D1, D0
  7523. 00004A04  7000                     moveq.l    D0, 0x00
  7524. 00004A06  1001                     move.b     D0, D1
  7525. 00004A08  4A80                     tst.l      D0
  7526. 00004A0A  2F00                     move.l     -[A7], D0
  7527. 00004A0C  700A                     moveq.l    D0, 0x0A
  7528. 00004A0E  2F00                     move.l     -[A7], D0
  7529. 00004A10  4878 008A                push.l     0x8A
  7530. 00004A14  4EBA CB80                jsr        [PC - 0x3480 /* 00001596 */]
  7531. 00004A18  4FEF 0040                lea.l      A7, [A7 + 0x40]
  7532. 00004A1C  6000 071C                bra        +0x71E /* 0000513A */
  7533. label00004A20:
  7534. 00004A20  2F0C                     move.l     -[A7], A4
  7535. 00004A22  7000                     moveq.l    D0, 0x00
  7536. 00004A24  102C 003B                move.b     D0, [A4 + 0x3B]
  7537. 00004A28  4A80                     tst.l      D0
  7538. 00004A2A  72BF                     moveq.l    D1, 0xFFFFFFBF
  7539. 00004A2C  C200                     and.b      D1, D0
  7540. 00004A2E  7000                     moveq.l    D0, 0x00
  7541. 00004A30  1001                     move.b     D0, D1
  7542. 00004A32  4A80                     tst.l      D0
  7543. 00004A34  2F00                     move.l     -[A7], D0
  7544. 00004A36  700F                     moveq.l    D0, 0x0F
  7545. 00004A38  2F00                     move.l     -[A7], D0
  7546. 00004A3A  4878 008A                push.l     0x8A
  7547. 00004A3E  4EBA CB56                jsr        [PC - 0x34AA /* 00001596 */]
  7548. 00004A42  2F0C                     move.l     -[A7], A4
  7549. 00004A44  7000                     moveq.l    D0, 0x00
  7550. 00004A46  102C 0039                move.b     D0, [A4 + 0x39]
  7551. 00004A4A  4A80                     tst.l      D0
  7552. 00004A4C  72FE                     moveq.l    D1, 0xFFFFFFFE
  7553. 00004A4E  C200                     and.b      D1, D0
  7554. 00004A50  7000                     moveq.l    D0, 0x00
  7555. 00004A52  1001                     move.b     D0, D1
  7556. 00004A54  4A80                     tst.l      D0
  7557. 00004A56  2F00                     move.l     -[A7], D0
  7558. 00004A58  700D                     moveq.l    D0, 0x0D
  7559. 00004A5A  2F00                     move.l     -[A7], D0
  7560. 00004A5C  4878 008A                push.l     0x8A
  7561. 00004A60  4EBA CB34                jsr        [PC - 0x34CC /* 00001596 */]
  7562. 00004A64  2F0C                     move.l     -[A7], A4
  7563. 00004A66  7000                     moveq.l    D0, 0x00
  7564. 00004A68  102C 0032                move.b     D0, [A4 + 0x32]
  7565. 00004A6C  4A80                     tst.l      D0
  7566. 00004A6E  72FC                     moveq.l    D1, 0xFFFFFFFC
  7567. 00004A70  C200                     and.b      D1, D0
  7568. 00004A72  7000                     moveq.l    D0, 0x00
  7569. 00004A74  1001                     move.b     D0, D1
  7570. 00004A76  4A80                     tst.l      D0
  7571. 00004A78  7202                     moveq.l    D1, 0x02
  7572. 00004A7A  8200                     or.b       D1, D0
  7573. 00004A7C  7000                     moveq.l    D0, 0x00
  7574. 00004A7E  1001                     move.b     D0, D1
  7575. 00004A80  4A80                     tst.l      D0
  7576. 00004A82  2F00                     move.l     -[A7], D0
  7577. 00004A84  7006                     moveq.l    D0, 0x06
  7578. 00004A86  2F00                     move.l     -[A7], D0
  7579. 00004A88  4878 008A                push.l     0x8A
  7580. 00004A8C  4EBA CB08                jsr        [PC - 0x34F8 /* 00001596 */]
  7581. 00004A90  4FEF 0030                lea.l      A7, [A7 + 0x30]
  7582. 00004A94  6000 06A4                bra        +0x6A6 /* 0000513A */
  7583. label00004A98:
  7584. 00004A98  7002                     moveq.l    D0, 0x02
  7585. 00004A9A  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  7586. 00004A9E  6600 069A                bne        +0x69C /* 0000513A */
  7587. 00004AA2  7062                     moveq.l    D0, 0x62
  7588. 00004AA4  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7589. 00004AA8  6606                     bne        +0x8 /* 00004AB0 */
  7590. 00004AAA  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7591. 00004AAC  6000 068C                bra        +0x68E /* 0000513A */
  7592. label00004AB0:
  7593. 00004AB0  397C 001C 0010           move.w     [A4 + 0x10], 0x1C
  7594. 00004AB6  397C 0372 0012           move.w     [A4 + 0x12], 0x372
  7595. 00004ABC  397C 02A2 0014           move.w     [A4 + 0x14], 0x2A2
  7596. 00004AC2  397C 0001 0016           move.w     [A4 + 0x16], 0x1
  7597. 00004AC8  397C 0131 0018           move.w     [A4 + 0x18], 0x131
  7598. 00004ACE  397C 01FE 001A           move.w     [A4 + 0x1A], 0x1FE
  7599. 00004AD4  2F0C                     move.l     -[A7], A4
  7600. 00004AD6  7000                     moveq.l    D0, 0x00
  7601. 00004AD8  102C 003B                move.b     D0, [A4 + 0x3B]
  7602. 00004ADC  4A80                     tst.l      D0
  7603. 00004ADE  72BF                     moveq.l    D1, 0xFFFFFFBF
  7604. 00004AE0  C200                     and.b      D1, D0
  7605. 00004AE2  7000                     moveq.l    D0, 0x00
  7606. 00004AE4  1001                     move.b     D0, D1
  7607. 00004AE6  4A80                     tst.l      D0
  7608. 00004AE8  2F00                     move.l     -[A7], D0
  7609. 00004AEA  700F                     moveq.l    D0, 0x0F
  7610. 00004AEC  2F00                     move.l     -[A7], D0
  7611. 00004AEE  4878 008A                push.l     0x8A
  7612. 00004AF2  4EBA CAA2                jsr        [PC - 0x355E /* 00001596 */]
  7613. 00004AF6  2F0C                     move.l     -[A7], A4
  7614. 00004AF8  7000                     moveq.l    D0, 0x00
  7615. 00004AFA  102C 0039                move.b     D0, [A4 + 0x39]
  7616. 00004AFE  4A80                     tst.l      D0
  7617. 00004B00  7201                     moveq.l    D1, 0x01
  7618. 00004B02  8200                     or.b       D1, D0
  7619. 00004B04  7000                     moveq.l    D0, 0x00
  7620. 00004B06  1001                     move.b     D0, D1
  7621. 00004B08  4A80                     tst.l      D0
  7622. 00004B0A  2F00                     move.l     -[A7], D0
  7623. 00004B0C  700D                     moveq.l    D0, 0x0D
  7624. 00004B0E  2F00                     move.l     -[A7], D0
  7625. 00004B10  4878 008A                push.l     0x8A
  7626. 00004B14  4EBA CA80                jsr        [PC - 0x3580 /* 00001596 */]
  7627. 00004B18  2F0C                     move.l     -[A7], A4
  7628. 00004B1A  7000                     moveq.l    D0, 0x00
  7629. 00004B1C  102C 0032                move.b     D0, [A4 + 0x32]
  7630. 00004B20  4A80                     tst.l      D0
  7631. 00004B22  72FC                     moveq.l    D1, 0xFFFFFFFC
  7632. 00004B24  C200                     and.b      D1, D0
  7633. 00004B26  7000                     moveq.l    D0, 0x00
  7634. 00004B28  1001                     move.b     D0, D1
  7635. 00004B2A  4A80                     tst.l      D0
  7636. 00004B2C  7201                     moveq.l    D1, 0x01
  7637. 00004B2E  8200                     or.b       D1, D0
  7638. 00004B30  7000                     moveq.l    D0, 0x00
  7639. 00004B32  1001                     move.b     D0, D1
  7640. 00004B34  4A80                     tst.l      D0
  7641. 00004B36  2F00                     move.l     -[A7], D0
  7642. 00004B38  7006                     moveq.l    D0, 0x06
  7643. 00004B3A  2F00                     move.l     -[A7], D0
  7644. 00004B3C  4878 008A                push.l     0x8A
  7645. 00004B40  4EBA CA54                jsr        [PC - 0x35AC /* 00001596 */]
  7646. 00004B44  4FEF 0030                lea.l      A7, [A7 + 0x30]
  7647. 00004B48  6000 05F0                bra        +0x5F2 /* 0000513A */
  7648. label00004B4C:
  7649. 00004B4C  206E FFC2                movea.l    A0, [A6 - 0x3E]
  7650. 00004B50  3010                     move.w     D0, [A0]
  7651. 00004B52  48C0                     ext.l      D0
  7652. 00004B54  2F00                     move.l     -[A7], D0
  7653. 00004B56  7001                     moveq.l    D0, 0x01
  7654. 00004B58  2F00                     move.l     -[A7], D0
  7655. 00004B5A  322B 001C                move.w     D1, [A3 + 0x1C]
  7656. 00004B5E  48C1                     ext.l      D1
  7657. 00004B60  2F01                     move.l     -[A7], D1
  7658. 00004B62  4EBA BB98                jsr        [PC - 0x4468 /* 000006FC */]
  7659. 00004B66  4A40                     tst.w      D0
  7660. 00004B68  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7661. 00004B6C  6608                     bne        +0xA /* 00004B76 */
  7662. 00004B6E  3A3C E0A1                move.w     D5, 0xE0A1
  7663. 00004B72  6000 05C6                bra        +0x5C8 /* 0000513A */
  7664. label00004B76:
  7665. 00004B76  226E FFC2                movea.l    A1, [A6 - 0x3E]
  7666. 00004B7A  3029 0002                move.w     D0, [A1 + 0x2]
  7667. 00004B7E  48C0                     ext.l      D0
  7668. 00004B80  226E FFC2                movea.l    A1, [A6 - 0x3E]
  7669. 00004B84  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  7670. 00004B88  A02A                     syscall    HUnlock
  7671. 00004B8A  302B 001C                move.w     D0, [A3 + 0x1C]
  7672. 00004B8E  5340                     subq.w     D0, 1
  7673. 00004B90  206E FFC2                movea.l    A0, [A6 - 0x3E]
  7674. 00004B94  3140 0002                move.w     [A0 + 0x2], D0
  7675. 00004B98  226E FFC2                movea.l    A1, [A6 - 0x3E]
  7676. 00004B9C  3029 0002                move.w     D0, [A1 + 0x2]
  7677. 00004BA0  48C0                     ext.l      D0
  7678. 00004BA2  226E FFC2                movea.l    A1, [A6 - 0x3E]
  7679. 00004BA6  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  7680. 00004BAA  A029                     syscall    HLock
  7681. 00004BAC  206E FFC2                movea.l    A0, [A6 - 0x3E]
  7682. 00004BB0  3028 0002                move.w     D0, [A0 + 0x2]
  7683. 00004BB4  48C0                     ext.l      D0
  7684. 00004BB6  206E FFC2                movea.l    A0, [A6 - 0x3E]
  7685. 00004BBA  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  7686. 00004BBE  2850                     movea.l    A4, [A0]
  7687. 00004BC0  6000 0578                bra        +0x57A /* 0000513A */
  7688. label00004BC4:
  7689. 00004BC4  4878 00FF                push.l     0xFF
  7690. 00004BC8  7000                     moveq.l    D0, 0x00
  7691. 00004BCA  2F00                     move.l     -[A7], D0
  7692. 00004BCC  322B 001C                move.w     D1, [A3 + 0x1C]
  7693. 00004BD0  48C1                     ext.l      D1
  7694. 00004BD2  2F01                     move.l     -[A7], D1
  7695. 00004BD4  4EBA BB26                jsr        [PC - 0x44DA /* 000006FC */]
  7696. 00004BD8  4A40                     tst.w      D0
  7697. 00004BDA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7698. 00004BDE  6624                     bne        +0x26 /* 00004C04 */
  7699. 00004BE0  4878 00FF                push.l     0xFF
  7700. 00004BE4  7000                     moveq.l    D0, 0x00
  7701. 00004BE6  2F00                     move.l     -[A7], D0
  7702. 00004BE8  322B 001E                move.w     D1, [A3 + 0x1E]
  7703. 00004BEC  48C1                     ext.l      D1
  7704. 00004BEE  2F01                     move.l     -[A7], D1
  7705. 00004BF0  4EBA BB0A                jsr        [PC - 0x44F6 /* 000006FC */]
  7706. 00004BF4  4A40                     tst.w      D0
  7707. 00004BF6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7708. 00004BFA  6708                     beq        +0xA /* 00004C04 */
  7709. 00004BFC  3A3C E0A0                move.w     D5, 0xE0A0
  7710. 00004C00  6000 0538                bra        +0x53A /* 0000513A */
  7711. label00004C04:
  7712. 00004C04  2F0C                     move.l     -[A7], A4
  7713. 00004C06  302B 001E                move.w     D0, [A3 + 0x1E]
  7714. 00004C0A  48C0                     ext.l      D0
  7715. 00004C0C  2F00                     move.l     -[A7], D0
  7716. 00004C0E  302B 001C                move.w     D0, [A3 + 0x1C]
  7717. 00004C12  48C0                     ext.l      D0
  7718. 00004C14  2F00                     move.l     -[A7], D0
  7719. 00004C16  4878 008A                push.l     0x8A
  7720. 00004C1A  4EBA C97A                jsr        [PC - 0x3686 /* 00001596 */]
  7721. 00004C1E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7722. 00004C22  6000 0516                bra        +0x518 /* 0000513A */
  7723. label00004C26:
  7724. 00004C26  382B 001C                move.w     D4, [A3 + 0x1C]
  7725. 00004C2A  1D7C 0001 FFCB           move.b     [A6 - 0x35], 0x1
  7726. 00004C30  43EE FFCB                lea.l      A1, [A6 - 0x35]
  7727. 00004C34  2049                     movea.l    A0, A1
  7728. 00004C36  1010                     move.b     D0, [A0]
  7729. 00004C38  A05D                     syscall    SwapMMUMode
  7730. 00004C3A  1080                     move.b     [A0], D0
  7731. 00004C3C  206E FFD0                movea.l    A0, [A6 - 0x30]
  7732. 00004C40  7C00                     moveq.l    D6, 0x00
  7733. 00004C42  1C10                     move.b     D6, [A0]
  7734. 00004C44  4A86                     tst.l      D6
  7735. 00004C46  206E FFD0                movea.l    A0, [A6 - 0x30]
  7736. 00004C4A  4210                     clr.b      [A0]
  7737. 00004C4C  4A44                     tst.w      D4
  7738. 00004C4E  670A                     beq        +0xC /* 00004C5A */
  7739. 00004C50  206E FFD4                movea.l    A0, [A6 - 0x2C]
  7740. 00004C54  0010 0004                ori.b      [A0], 0x4
  7741. 00004C58  6008                     bra        +0xA /* 00004C62 */
  7742. label00004C5A:
  7743. 00004C5A  206E FFD4                movea.l    A0, [A6 - 0x2C]
  7744. 00004C5E  0210 00FB                andi.b     [A0], 0xFB
  7745. label00004C62:
  7746. 00004C62  206E FFD0                movea.l    A0, [A6 - 0x30]
  7747. 00004C66  1086                     move.b     [A0], D6
  7748. 00004C68  43EE FFCB                lea.l      A1, [A6 - 0x35]
  7749. 00004C6C  2049                     movea.l    A0, A1
  7750. 00004C6E  1010                     move.b     D0, [A0]
  7751. 00004C70  A05D                     syscall    SwapMMUMode
  7752. 00004C72  1080                     move.b     [A0], D0
  7753. 00004C74  6000 04C4                bra        +0x4C6 /* 0000513A */
  7754. label00004C78:
  7755. 00004C78  4A6B 001C                tst.w      [A3 + 0x1C]
  7756. 00004C7C  6704                     beq        +0x6 /* 00004C82 */
  7757. 00004C7E  7000                     moveq.l    D0, 0x00
  7758. 00004C80  6002                     bra        +0x4 /* 00004C84 */
  7759. label00004C82:
  7760. 00004C82  7001                     moveq.l    D0, 0x01
  7761. label00004C84:
  7762. 00004C84  2F00                     move.l     -[A7], D0
  7763. 00004C86  7006                     moveq.l    D0, 0x06
  7764. 00004C88  2F00                     move.l     -[A7], D0
  7765. 00004C8A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  7766. 00004C90  7203                     moveq.l    D1, 0x03
  7767. 00004C92  2F01                     move.l     -[A7], D1
  7768. 00004C94  2F07                     move.l     -[A7], D7
  7769. 00004C96  4EBA BADC                jsr        [PC - 0x4524 /* 00000774 */]
  7770. 00004C9A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7771. 00004C9E  6000 049A                bra        +0x49C /* 0000513A */
  7772. label00004CA2:
  7773. 00004CA2  4AAB 001C                tst.l      [A3 + 0x1C]
  7774. 00004CA6  6700 008A                beq        +0x8C /* 00004D32 */
  7775. 00004CAA  7062                     moveq.l    D0, 0x62
  7776. 00004CAC  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7777. 00004CB0  6618                     bne        +0x1A /* 00004CCA */
  7778. 00004CB2  2F0C                     move.l     -[A7], A4
  7779. 00004CB4  7038                     moveq.l    D0, 0x38
  7780. 00004CB6  2F00                     move.l     -[A7], D0
  7781. 00004CB8  7200                     moveq.l    D1, 0x00
  7782. 00004CBA  2F01                     move.l     -[A7], D1
  7783. 00004CBC  4878 00E0                push.l     0xE0
  7784. 00004CC0  4EBA C8D4                jsr        [PC - 0x372C /* 00001596 */]
  7785. 00004CC4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7786. 00004CC8  6016                     bra        +0x18 /* 00004CE0 */
  7787. label00004CCA:
  7788. 00004CCA  2F0C                     move.l     -[A7], A4
  7789. 00004CCC  703A                     moveq.l    D0, 0x3A
  7790. 00004CCE  2F00                     move.l     -[A7], D0
  7791. 00004CD0  7200                     moveq.l    D1, 0x00
  7792. 00004CD2  2F01                     move.l     -[A7], D1
  7793. 00004CD4  4878 00E0                push.l     0xE0
  7794. 00004CD8  4EBA C8BC                jsr        [PC - 0x3744 /* 00001596 */]
  7795. 00004CDC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7796. label00004CE0:
  7797. 00004CE0  2F0C                     move.l     -[A7], A4
  7798. 00004CE2  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  7799. 00004CE6  7001                     moveq.l    D0, 0x01
  7800. 00004CE8  2F00                     move.l     -[A7], D0
  7801. 00004CEA  4878 00E0                push.l     0xE0
  7802. 00004CEE  4EBA D02C                jsr        [PC - 0x2FD4 /* 00001D1C */]
  7803. 00004CF2  7062                     moveq.l    D0, 0x62
  7804. 00004CF4  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7805. 00004CF8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7806. 00004CFC  661A                     bne        +0x1C /* 00004D18 */
  7807. 00004CFE  2F0C                     move.l     -[A7], A4
  7808. 00004D00  7078                     moveq.l    D0, 0x78
  7809. 00004D02  2F00                     move.l     -[A7], D0
  7810. 00004D04  7200                     moveq.l    D1, 0x00
  7811. 00004D06  2F01                     move.l     -[A7], D1
  7812. 00004D08  4878 00E0                push.l     0xE0
  7813. 00004D0C  4EBA C888                jsr        [PC - 0x3778 /* 00001596 */]
  7814. 00004D10  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7815. 00004D14  6000 0424                bra        +0x426 /* 0000513A */
  7816. label00004D18:
  7817. 00004D18  2F0C                     move.l     -[A7], A4
  7818. 00004D1A  707A                     moveq.l    D0, 0x7A
  7819. 00004D1C  2F00                     move.l     -[A7], D0
  7820. 00004D1E  7200                     moveq.l    D1, 0x00
  7821. 00004D20  2F01                     move.l     -[A7], D1
  7822. 00004D22  4878 00E0                push.l     0xE0
  7823. 00004D26  4EBA C86E                jsr        [PC - 0x3792 /* 00001596 */]
  7824. 00004D2A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7825. 00004D2E  6000 040A                bra        +0x40C /* 0000513A */
  7826. label00004D32:
  7827. 00004D32  3A3C E09F                move.w     D5, 0xE09F
  7828. 00004D36  6000 0402                bra        +0x404 /* 0000513A */
  7829. label00004D3A:
  7830. 00004D3A  4A6B 001C                tst.w      [A3 + 0x1C]
  7831. 00004D3E  6704                     beq        +0x6 /* 00004D44 */
  7832. 00004D40  7000                     moveq.l    D0, 0x00
  7833. 00004D42  6002                     bra        +0x4 /* 00004D46 */
  7834. label00004D44:
  7835. 00004D44  7001                     moveq.l    D0, 0x01
  7836. label00004D46:
  7837. 00004D46  2F00                     move.l     -[A7], D0
  7838. 00004D48  7000                     moveq.l    D0, 0x00
  7839. 00004D4A  2F00                     move.l     -[A7], D0
  7840. 00004D4C  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  7841. 00004D52  7203                     moveq.l    D1, 0x03
  7842. 00004D54  2F01                     move.l     -[A7], D1
  7843. 00004D56  2F07                     move.l     -[A7], D7
  7844. 00004D58  4EBA BA1A                jsr        [PC - 0x45E6 /* 00000774 */]
  7845. 00004D5C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7846. 00004D60  6000 03D8                bra        +0x3DA /* 0000513A */
  7847. label00004D64:
  7848. 00004D64  4A6B 001C                tst.w      [A3 + 0x1C]
  7849. 00004D68  6704                     beq        +0x6 /* 00004D6E */
  7850. 00004D6A  7001                     moveq.l    D0, 0x01
  7851. 00004D6C  6002                     bra        +0x4 /* 00004D70 */
  7852. label00004D6E:
  7853. 00004D6E  7000                     moveq.l    D0, 0x00
  7854. label00004D70:
  7855. 00004D70  2F00                     move.l     -[A7], D0
  7856. 00004D72  7001                     moveq.l    D0, 0x01
  7857. 00004D74  2F00                     move.l     -[A7], D0
  7858. 00004D76  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  7859. 00004D7C  7203                     moveq.l    D1, 0x03
  7860. 00004D7E  2F01                     move.l     -[A7], D1
  7861. 00004D80  2F07                     move.l     -[A7], D7
  7862. 00004D82  4EBA B9F0                jsr        [PC - 0x4610 /* 00000774 */]
  7863. 00004D86  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7864. 00004D8A  6000 03AE                bra        +0x3B0 /* 0000513A */
  7865. label00004D8E:
  7866. 00004D8E  7062                     moveq.l    D0, 0x62
  7867. 00004D90  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7868. 00004D94  6606                     bne        +0x8 /* 00004D9C */
  7869. 00004D96  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7870. 00004D98  6000 03A0                bra        +0x3A2 /* 0000513A */
  7871. label00004D9C:
  7872. 00004D9C  7003                     moveq.l    D0, 0x03
  7873. 00004D9E  2F00                     move.l     -[A7], D0
  7874. 00004DA0  7200                     moveq.l    D1, 0x00
  7875. 00004DA2  2F01                     move.l     -[A7], D1
  7876. 00004DA4  342B 001C                move.w     D2, [A3 + 0x1C]
  7877. 00004DA8  48C2                     ext.l      D2
  7878. 00004DAA  2F02                     move.l     -[A7], D2
  7879. 00004DAC  4EBA B94E                jsr        [PC - 0x46B2 /* 000006FC */]
  7880. 00004DB0  4A40                     tst.w      D0
  7881. 00004DB2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7882. 00004DB6  6608                     bne        +0xA /* 00004DC0 */
  7883. 00004DB8  3A3C E09E                move.w     D5, 0xE09E
  7884. 00004DBC  6000 037C                bra        +0x37E /* 0000513A */
  7885. label00004DC0:
  7886. 00004DC0  2F0C                     move.l     -[A7], A4
  7887. 00004DC2  7000                     moveq.l    D0, 0x00
  7888. 00004DC4  102C 0038                move.b     D0, [A4 + 0x38]
  7889. 00004DC8  4A80                     tst.l      D0
  7890. 00004DCA  729F                     moveq.l    D1, 0xFFFFFF9F
  7891. 00004DCC  C200                     and.b      D1, D0
  7892. 00004DCE  7000                     moveq.l    D0, 0x00
  7893. 00004DD0  1001                     move.b     D0, D1
  7894. 00004DD2  4A80                     tst.l      D0
  7895. 00004DD4  322B 001C                move.w     D1, [A3 + 0x1C]
  7896. 00004DD8  48C1                     ext.l      D1
  7897. 00004DDA  EB89                     lsl        D1, 5
  7898. 00004DDC  8280                     or.l       D1, D0
  7899. 00004DDE  2F01                     move.l     -[A7], D1
  7900. 00004DE0  700C                     moveq.l    D0, 0x0C
  7901. 00004DE2  2F00                     move.l     -[A7], D0
  7902. 00004DE4  4878 008A                push.l     0x8A
  7903. 00004DE8  4EBA C7AC                jsr        [PC - 0x3854 /* 00001596 */]
  7904. 00004DEC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7905. 00004DF0  6000 0348                bra        +0x34A /* 0000513A */
  7906. label00004DF4:
  7907. 00004DF4  7062                     moveq.l    D0, 0x62
  7908. 00004DF6  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7909. 00004DFA  6606                     bne        +0x8 /* 00004E02 */
  7910. 00004DFC  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7911. 00004DFE  6000 033A                bra        +0x33C /* 0000513A */
  7912. label00004E02:
  7913. 00004E02  2F0C                     move.l     -[A7], A4
  7914. 00004E04  7000                     moveq.l    D0, 0x00
  7915. 00004E06  102C 0038                move.b     D0, [A4 + 0x38]
  7916. 00004E0A  4A80                     tst.l      D0
  7917. 00004E0C  323C FF7F                move.w     D1, 0xFF7F
  7918. 00004E10  C240                     and.w      D1, D0
  7919. 00004E12  7000                     moveq.l    D0, 0x00
  7920. 00004E14  3001                     move.w     D0, D1
  7921. 00004E16  4A80                     tst.l      D0
  7922. 00004E18  4A6B 001C                tst.w      [A3 + 0x1C]
  7923. 00004E1C  6708                     beq        +0xA /* 00004E26 */
  7924. 00004E1E  223C 0000 0080           move.l     D1, 0x80
  7925. 00004E24  6002                     bra        +0x4 /* 00004E28 */
  7926. label00004E26:
  7927. 00004E26  7200                     moveq.l    D1, 0x00
  7928. label00004E28:
  7929. 00004E28  7400                     moveq.l    D2, 0x00
  7930. 00004E2A  1401                     move.b     D2, D1
  7931. 00004E2C  4A82                     tst.l      D2
  7932. 00004E2E  8440                     or.w       D2, D0
  7933. 00004E30  2F02                     move.l     -[A7], D2
  7934. 00004E32  700C                     moveq.l    D0, 0x0C
  7935. 00004E34  2F00                     move.l     -[A7], D0
  7936. 00004E36  4878 008A                push.l     0x8A
  7937. 00004E3A  4EBA C75A                jsr        [PC - 0x38A6 /* 00001596 */]
  7938. 00004E3E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7939. 00004E42  6000 02F6                bra        +0x2F8 /* 0000513A */
  7940. label00004E46:
  7941. 00004E46  7062                     moveq.l    D0, 0x62
  7942. 00004E48  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7943. 00004E4C  6606                     bne        +0x8 /* 00004E54 */
  7944. 00004E4E  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7945. 00004E50  6000 02E8                bra        +0x2EA /* 0000513A */
  7946. label00004E54:
  7947. 00004E54  2F0C                     move.l     -[A7], A4
  7948. 00004E56  7000                     moveq.l    D0, 0x00
  7949. 00004E58  102C 003B                move.b     D0, [A4 + 0x3B]
  7950. 00004E5C  4A80                     tst.l      D0
  7951. 00004E5E  72BF                     moveq.l    D1, 0xFFFFFFBF
  7952. 00004E60  C200                     and.b      D1, D0
  7953. 00004E62  7000                     moveq.l    D0, 0x00
  7954. 00004E64  1001                     move.b     D0, D1
  7955. 00004E66  4A80                     tst.l      D0
  7956. 00004E68  4A6B 001C                tst.w      [A3 + 0x1C]
  7957. 00004E6C  6704                     beq        +0x6 /* 00004E72 */
  7958. 00004E6E  7240                     moveq.l    D1, 0x40
  7959. 00004E70  6002                     bra        +0x4 /* 00004E74 */
  7960. label00004E72:
  7961. 00004E72  7200                     moveq.l    D1, 0x00
  7962. label00004E74:
  7963. 00004E74  49C1                     lea.l      A4, D1
  7964. 00004E76  8200                     or.b       D1, D0
  7965. 00004E78  2F01                     move.l     -[A7], D1
  7966. 00004E7A  700F                     moveq.l    D0, 0x0F
  7967. 00004E7C  2F00                     move.l     -[A7], D0
  7968. 00004E7E  4878 008A                push.l     0x8A
  7969. 00004E82  4EBA C712                jsr        [PC - 0x38EE /* 00001596 */]
  7970. 00004E86  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7971. 00004E8A  6000 02AE                bra        +0x2B0 /* 0000513A */
  7972. label00004E8E:
  7973. 00004E8E  7062                     moveq.l    D0, 0x62
  7974. 00004E90  B06C 0146                cmp.w      D0, [A4 + 0x146]
  7975. 00004E94  6606                     bne        +0x8 /* 00004E9C */
  7976. 00004E96  7AEF                     moveq.l    D5, 0xFFFFFFEF
  7977. 00004E98  6000 02A0                bra        +0x2A2 /* 0000513A */
  7978. label00004E9C:
  7979. 00004E9C  7003                     moveq.l    D0, 0x03
  7980. 00004E9E  2F00                     move.l     -[A7], D0
  7981. 00004EA0  7200                     moveq.l    D1, 0x00
  7982. 00004EA2  2F01                     move.l     -[A7], D1
  7983. 00004EA4  342B 001C                move.w     D2, [A3 + 0x1C]
  7984. 00004EA8  48C2                     ext.l      D2
  7985. 00004EAA  2F02                     move.l     -[A7], D2
  7986. 00004EAC  4EBA B84E                jsr        [PC - 0x47B2 /* 000006FC */]
  7987. 00004EB0  4A40                     tst.w      D0
  7988. 00004EB2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7989. 00004EB6  6608                     bne        +0xA /* 00004EC0 */
  7990. 00004EB8  3A3C E09C                move.w     D5, 0xE09C
  7991. 00004EBC  6000 027C                bra        +0x27E /* 0000513A */
  7992. label00004EC0:
  7993. 00004EC0  2F0C                     move.l     -[A7], A4
  7994. 00004EC2  7000                     moveq.l    D0, 0x00
  7995. 00004EC4  102C 003C                move.b     D0, [A4 + 0x3C]
  7996. 00004EC8  4A80                     tst.l      D0
  7997. 00004ECA  72FC                     moveq.l    D1, 0xFFFFFFFC
  7998. 00004ECC  C200                     and.b      D1, D0
  7999. 00004ECE  7000                     moveq.l    D0, 0x00
  8000. 00004ED0  1001                     move.b     D0, D1
  8001. 00004ED2  4A80                     tst.l      D0
  8002. 00004ED4  322B 001C                move.w     D1, [A3 + 0x1C]
  8003. 00004ED8  8240                     or.w       D1, D0
  8004. 00004EDA  2F01                     move.l     -[A7], D1
  8005. 00004EDC  7010                     moveq.l    D0, 0x10
  8006. 00004EDE  2F00                     move.l     -[A7], D0
  8007. 00004EE0  4878 008A                push.l     0x8A
  8008. 00004EE4  4EBA C6B0                jsr        [PC - 0x3950 /* 00001596 */]
  8009. 00004EE8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8010. 00004EEC  6000 024C                bra        +0x24E /* 0000513A */
  8011. label00004EF0:
  8012. 00004EF0  2F0C                     move.l     -[A7], A4
  8013. 00004EF2  7000                     moveq.l    D0, 0x00
  8014. 00004EF4  102C 0032                move.b     D0, [A4 + 0x32]
  8015. 00004EF8  4A80                     tst.l      D0
  8016. 00004EFA  72BF                     moveq.l    D1, 0xFFFFFFBF
  8017. 00004EFC  C200                     and.b      D1, D0
  8018. 00004EFE  7000                     moveq.l    D0, 0x00
  8019. 00004F00  1001                     move.b     D0, D1
  8020. 00004F02  4A80                     tst.l      D0
  8021. 00004F04  4A6B 001C                tst.w      [A3 + 0x1C]
  8022. 00004F08  6704                     beq        +0x6 /* 00004F0E */
  8023. 00004F0A  7240                     moveq.l    D1, 0x40
  8024. 00004F0C  6002                     bra        +0x4 /* 00004F10 */
  8025. label00004F0E:
  8026. 00004F0E  7200                     moveq.l    D1, 0x00
  8027. label00004F10:
  8028. 00004F10  49C1                     lea.l      A4, D1
  8029. 00004F12  8200                     or.b       D1, D0
  8030. 00004F14  2F01                     move.l     -[A7], D1
  8031. 00004F16  7006                     moveq.l    D0, 0x06
  8032. 00004F18  2F00                     move.l     -[A7], D0
  8033. 00004F1A  4878 008A                push.l     0x8A
  8034. 00004F1E  4EBA C676                jsr        [PC - 0x398A /* 00001596 */]
  8035. 00004F22  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8036. 00004F26  6000 0212                bra        +0x214 /* 0000513A */
  8037. label00004F2A:
  8038. 00004F2A  7003                     moveq.l    D0, 0x03
  8039. 00004F2C  2F00                     move.l     -[A7], D0
  8040. 00004F2E  7200                     moveq.l    D1, 0x00
  8041. 00004F30  2F01                     move.l     -[A7], D1
  8042. 00004F32  342B 001C                move.w     D2, [A3 + 0x1C]
  8043. 00004F36  48C2                     ext.l      D2
  8044. 00004F38  2F02                     move.l     -[A7], D2
  8045. 00004F3A  4EBA B7C0                jsr        [PC - 0x4840 /* 000006FC */]
  8046. 00004F3E  4A40                     tst.w      D0
  8047. 00004F40  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8048. 00004F44  6608                     bne        +0xA /* 00004F4E */
  8049. 00004F46  3A3C E09B                move.w     D5, 0xE09B
  8050. 00004F4A  6000 01EE                bra        +0x1F0 /* 0000513A */
  8051. label00004F4E:
  8052. 00004F4E  2F0C                     move.l     -[A7], A4
  8053. 00004F50  7000                     moveq.l    D0, 0x00
  8054. 00004F52  102C 0032                move.b     D0, [A4 + 0x32]
  8055. 00004F56  4A80                     tst.l      D0
  8056. 00004F58  72CF                     moveq.l    D1, 0xFFFFFFCF
  8057. 00004F5A  C200                     and.b      D1, D0
  8058. 00004F5C  7000                     moveq.l    D0, 0x00
  8059. 00004F5E  1001                     move.b     D0, D1
  8060. 00004F60  4A80                     tst.l      D0
  8061. 00004F62  322B 001C                move.w     D1, [A3 + 0x1C]
  8062. 00004F66  48C1                     ext.l      D1
  8063. 00004F68  E989                     lsl        D1, 4
  8064. 00004F6A  8280                     or.l       D1, D0
  8065. 00004F6C  2F01                     move.l     -[A7], D1
  8066. 00004F6E  7006                     moveq.l    D0, 0x06
  8067. 00004F70  2F00                     move.l     -[A7], D0
  8068. 00004F72  4878 008A                push.l     0x8A
  8069. 00004F76  4EBA C61E                jsr        [PC - 0x39E2 /* 00001596 */]
  8070. 00004F7A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8071. 00004F7E  6000 01BA                bra        +0x1BC /* 0000513A */
  8072. label00004F82:
  8073. 00004F82  7003                     moveq.l    D0, 0x03
  8074. 00004F84  2F00                     move.l     -[A7], D0
  8075. 00004F86  7200                     moveq.l    D1, 0x00
  8076. 00004F88  2F01                     move.l     -[A7], D1
  8077. 00004F8A  342B 001C                move.w     D2, [A3 + 0x1C]
  8078. 00004F8E  48C2                     ext.l      D2
  8079. 00004F90  2F02                     move.l     -[A7], D2
  8080. 00004F92  4EBA B768                jsr        [PC - 0x4898 /* 000006FC */]
  8081. 00004F96  4A40                     tst.w      D0
  8082. 00004F98  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8083. 00004F9C  6608                     bne        +0xA /* 00004FA6 */
  8084. 00004F9E  3A3C E09A                move.w     D5, 0xE09A
  8085. 00004FA2  6000 0196                bra        +0x198 /* 0000513A */
  8086. label00004FA6:
  8087. 00004FA6  2F0C                     move.l     -[A7], A4
  8088. 00004FA8  7000                     moveq.l    D0, 0x00
  8089. 00004FAA  102C 0032                move.b     D0, [A4 + 0x32]
  8090. 00004FAE  4A80                     tst.l      D0
  8091. 00004FB0  72F3                     moveq.l    D1, 0xFFFFFFF3
  8092. 00004FB2  C200                     and.b      D1, D0
  8093. 00004FB4  7000                     moveq.l    D0, 0x00
  8094. 00004FB6  1001                     move.b     D0, D1
  8095. 00004FB8  4A80                     tst.l      D0
  8096. 00004FBA  322B 001C                move.w     D1, [A3 + 0x1C]
  8097. 00004FBE  48C1                     ext.l      D1
  8098. 00004FC0  E589                     lsl        D1, 2
  8099. 00004FC2  8280                     or.l       D1, D0
  8100. 00004FC4  2F01                     move.l     -[A7], D1
  8101. 00004FC6  7006                     moveq.l    D0, 0x06
  8102. 00004FC8  2F00                     move.l     -[A7], D0
  8103. 00004FCA  4878 008A                push.l     0x8A
  8104. 00004FCE  4EBA C5C6                jsr        [PC - 0x3A3A /* 00001596 */]
  8105. 00004FD2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8106. 00004FD6  6000 0162                bra        +0x164 /* 0000513A */
  8107. label00004FDA:
  8108. 00004FDA  7003                     moveq.l    D0, 0x03
  8109. 00004FDC  2F00                     move.l     -[A7], D0
  8110. 00004FDE  7200                     moveq.l    D1, 0x00
  8111. 00004FE0  2F01                     move.l     -[A7], D1
  8112. 00004FE2  342B 001C                move.w     D2, [A3 + 0x1C]
  8113. 00004FE6  48C2                     ext.l      D2
  8114. 00004FE8  2F02                     move.l     -[A7], D2
  8115. 00004FEA  4EBA B710                jsr        [PC - 0x48F0 /* 000006FC */]
  8116. 00004FEE  4A40                     tst.w      D0
  8117. 00004FF0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8118. 00004FF4  6608                     bne        +0xA /* 00004FFE */
  8119. 00004FF6  3A3C E099                move.w     D5, 0xE099
  8120. 00004FFA  6000 013E                bra        +0x140 /* 0000513A */
  8121. label00004FFE:
  8122. 00004FFE  2F0C                     move.l     -[A7], A4
  8123. 00005000  7000                     moveq.l    D0, 0x00
  8124. 00005002  102C 0032                move.b     D0, [A4 + 0x32]
  8125. 00005006  4A80                     tst.l      D0
  8126. 00005008  72FC                     moveq.l    D1, 0xFFFFFFFC
  8127. 0000500A  C200                     and.b      D1, D0
  8128. 0000500C  7000                     moveq.l    D0, 0x00
  8129. 0000500E  1001                     move.b     D0, D1
  8130. 00005010  4A80                     tst.l      D0
  8131. 00005012  322B 001C                move.w     D1, [A3 + 0x1C]
  8132. 00005016  8240                     or.w       D1, D0
  8133. 00005018  2F01                     move.l     -[A7], D1
  8134. 0000501A  7006                     moveq.l    D0, 0x06
  8135. 0000501C  2F00                     move.l     -[A7], D0
  8136. 0000501E  4878 008A                push.l     0x8A
  8137. 00005022  4EBA C572                jsr        [PC - 0x3A8E /* 00001596 */]
  8138. 00005026  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8139. 0000502A  6000 010E                bra        +0x110 /* 0000513A */
  8140. label0000502E:
  8141. 0000502E  4878 01FF                push.l     0x1FF
  8142. 00005032  7000                     moveq.l    D0, 0x00
  8143. 00005034  2F00                     move.l     -[A7], D0
  8144. 00005036  322B 001C                move.w     D1, [A3 + 0x1C]
  8145. 0000503A  48C1                     ext.l      D1
  8146. 0000503C  2F01                     move.l     -[A7], D1
  8147. 0000503E  4EBA B6BC                jsr        [PC - 0x4944 /* 000006FC */]
  8148. 00005042  4A40                     tst.w      D0
  8149. 00005044  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8150. 00005048  6768                     beq        +0x6A /* 000050B2 */
  8151. 0000504A  4878 01FF                push.l     0x1FF
  8152. 0000504E  7000                     moveq.l    D0, 0x00
  8153. 00005050  2F00                     move.l     -[A7], D0
  8154. 00005052  322B 0020                move.w     D1, [A3 + 0x20]
  8155. 00005056  48C1                     ext.l      D1
  8156. 00005058  2F01                     move.l     -[A7], D1
  8157. 0000505A  4EBA B6A0                jsr        [PC - 0x4960 /* 000006FC */]
  8158. 0000505E  4A40                     tst.w      D0
  8159. 00005060  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8160. 00005064  674C                     beq        +0x4E /* 000050B2 */
  8161. 00005066  4878 03FF                push.l     0x3FF
  8162. 0000506A  7000                     moveq.l    D0, 0x00
  8163. 0000506C  2F00                     move.l     -[A7], D0
  8164. 0000506E  322B 001E                move.w     D1, [A3 + 0x1E]
  8165. 00005072  48C1                     ext.l      D1
  8166. 00005074  2F01                     move.l     -[A7], D1
  8167. 00005076  4EBA B684                jsr        [PC - 0x497C /* 000006FC */]
  8168. 0000507A  4A40                     tst.w      D0
  8169. 0000507C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8170. 00005080  6730                     beq        +0x32 /* 000050B2 */
  8171. 00005082  4878 03FF                push.l     0x3FF
  8172. 00005086  7000                     moveq.l    D0, 0x00
  8173. 00005088  2F00                     move.l     -[A7], D0
  8174. 0000508A  322B 0022                move.w     D1, [A3 + 0x22]
  8175. 0000508E  48C1                     ext.l      D1
  8176. 00005090  2F01                     move.l     -[A7], D1
  8177. 00005092  4EBA B668                jsr        [PC - 0x4998 /* 000006FC */]
  8178. 00005096  4A40                     tst.w      D0
  8179. 00005098  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8180. 0000509C  6714                     beq        +0x16 /* 000050B2 */
  8181. 0000509E  302B 001C                move.w     D0, [A3 + 0x1C]
  8182. 000050A2  B06B 0020                cmp.w      D0, [A3 + 0x20]
  8183. 000050A6  6E0A                     bgt        +0xC /* 000050B2 */
  8184. 000050A8  302B 001E                move.w     D0, [A3 + 0x1E]
  8185. 000050AC  B06B 0022                cmp.w      D0, [A3 + 0x22]
  8186. 000050B0  6F08                     ble        +0xA /* 000050BA */
  8187. label000050B2:
  8188. 000050B2  3A3C E098                move.w     D5, 0xE098
  8189. 000050B6  6000 0082                bra        +0x84 /* 0000513A */
  8190. label000050BA:
  8191. 000050BA  0C6B 00FF 0024           cmpi.w     [A3 + 0x24], 0xFF
  8192. 000050C0  6E10                     bgt        +0x12 /* 000050D2 */
  8193. 000050C2  0C6B 00FF 0026           cmpi.w     [A3 + 0x26], 0xFF
  8194. 000050C8  6E08                     bgt        +0xA /* 000050D2 */
  8195. 000050CA  0C6B 00FF 0028           cmpi.w     [A3 + 0x28], 0xFF
  8196. 000050D0  6F06                     ble        +0x8 /* 000050D8 */
  8197. label000050D2:
  8198. 000050D2  3A3C E097                move.w     D5, 0xE097
  8199. 000050D6  6062                     bra        +0x64 /* 0000513A */
  8200. label000050D8:
  8201. 000050D8  2F07                     move.l     -[A7], D7
  8202. 000050DA  302B 002C                move.w     D0, [A3 + 0x2C]
  8203. 000050DE  48C0                     ext.l      D0
  8204. 000050E0  2F00                     move.l     -[A7], D0
  8205. 000050E2  302B 002A                move.w     D0, [A3 + 0x2A]
  8206. 000050E6  48C0                     ext.l      D0
  8207. 000050E8  2F00                     move.l     -[A7], D0
  8208. 000050EA  302B 0028                move.w     D0, [A3 + 0x28]
  8209. 000050EE  48C0                     ext.l      D0
  8210. 000050F0  2F00                     move.l     -[A7], D0
  8211. 000050F2  302B 0026                move.w     D0, [A3 + 0x26]
  8212. 000050F6  48C0                     ext.l      D0
  8213. 000050F8  2F00                     move.l     -[A7], D0
  8214. 000050FA  302B 0024                move.w     D0, [A3 + 0x24]
  8215. 000050FE  48C0                     ext.l      D0
  8216. 00005100  2F00                     move.l     -[A7], D0
  8217. 00005102  302B 0022                move.w     D0, [A3 + 0x22]
  8218. 00005106  48C0                     ext.l      D0
  8219. 00005108  2F00                     move.l     -[A7], D0
  8220. 0000510A  302B 0020                move.w     D0, [A3 + 0x20]
  8221. 0000510E  48C0                     ext.l      D0
  8222. 00005110  2F00                     move.l     -[A7], D0
  8223. 00005112  302B 001E                move.w     D0, [A3 + 0x1E]
  8224. 00005116  48C0                     ext.l      D0
  8225. 00005118  2F00                     move.l     -[A7], D0
  8226. 0000511A  302B 001C                move.w     D0, [A3 + 0x1C]
  8227. 0000511E  48C0                     ext.l      D0
  8228. 00005120  2F00                     move.l     -[A7], D0
  8229. 00005122  4EBA B00C                jsr        [PC - 0x4FF4 /* 00000130 */]
  8230. 00005126  4FEF 0028                lea.l      A7, [A7 + 0x28]
  8231. 0000512A  600E                     bra        +0x10 /* 0000513A */
  8232. label0000512C:
  8233. 0000512C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  8234. 00005130  4EBA DE92                jsr        [PC - 0x216E /* 00002FC4 */]
  8235. 00005134  584F                     addq.w     A7, 4
  8236. 00005136  6002                     bra        +0x4 /* 0000513A */
  8237. label00005138:
  8238. 00005138  7AEF                     moveq.l    D5, 0xFFFFFFEF
  8239. label0000513A:
  8240. 0000513A  226E FFC2                movea.l    A1, [A6 - 0x3E]
  8241. 0000513E  3029 0002                move.w     D0, [A1 + 0x2]
  8242. 00005142  48C0                     ext.l      D0
  8243. 00005144  226E FFC2                movea.l    A1, [A6 - 0x3E]
  8244. 00005148  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  8245. 0000514C  A02A                     syscall    HUnlock
  8246. 0000514E  226E 0008                movea.l    A1, [A6 + 0x8]
  8247. 00005152  2069 0014                movea.l    A0, [A1 + 0x14]
  8248. 00005156  A02A                     syscall    HUnlock
  8249. 00005158  3D45 0010                move.w     [A6 + 0x10], D5
  8250. 0000515C  4CEE 18F8 FF96           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x6A]
  8251. 00005162  4E5E                     unlink     A6
  8252. 00005164  4E74 0008                rtd        0x0008
  8253. 00005168  4E56 FFD4                link       A6, -0x002C
  8254. 0000516C  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  8255. 00005170  266E 000C                movea.l    A3, [A6 + 0xC]
  8256. 00005174  226E 0008                movea.l    A1, [A6 + 0x8]
  8257. 00005178  2069 0014                movea.l    A0, [A1 + 0x14]
  8258. 0000517C  A029                     syscall    HLock
  8259. 0000517E  206E 0008                movea.l    A0, [A6 + 0x8]
  8260. 00005182  2068 0014                movea.l    A0, [A0 + 0x14]
  8261. 00005186  2D50 FFD8                move.l     [A6 - 0x28], [A0]
  8262. 0000518A  226E FFD8                movea.l    A1, [A6 - 0x28]
  8263. 0000518E  3029 0002                move.w     D0, [A1 + 0x2]
  8264. 00005192  48C0                     ext.l      D0
  8265. 00005194  226E FFD8                movea.l    A1, [A6 - 0x28]
  8266. 00005198  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  8267. 0000519C  A029                     syscall    HLock
  8268. 0000519E  206E FFD8                movea.l    A0, [A6 - 0x28]
  8269. 000051A2  3028 0002                move.w     D0, [A0 + 0x2]
  8270. 000051A6  48C0                     ext.l      D0
  8271. 000051A8  206E FFD8                movea.l    A0, [A6 - 0x28]
  8272. 000051AC  2070 0C04                movea.l    A0, [A0 + D0 * 4 + 0x4]
  8273. 000051B0  2D50 FFDC                move.l     [A6 - 0x24], [A0]
  8274. 000051B4  206E FFDC                movea.l    A0, [A6 - 0x24]
  8275. 000051B8  2068 000A                movea.l    A0, [A0 + 0xA]
  8276. 000051BC  2D50 FFE0                move.l     [A6 - 0x20], [A0]
  8277. 000051C0  4245                     clr.w      D5
  8278. 000051C2  206E FFDC                movea.l    A0, [A6 - 0x24]
  8279. 000051C6  2E10                     move.l     D7, [A0]
  8280. 000051C8  2847                     movea.l    A4, D7
  8281. 000051CA  D9FC 00FE 601B           add.l      A4, 0xFE601B
  8282. 000051D0  2007                     move.l     D0, D7
  8283. 000051D2  D0BC 00FE 7018           add.l      D0, 0xFE7018
  8284. 000051D8  2D40 FFE4                move.l     [A6 - 0x1C], D0
  8285. 000051DC  302B 001A                move.w     D0, [A3 + 0x1A]
  8286. 000051E0  0440 2329                subi.w     D0, 0x2329 /* '#)' */
  8287. 000051E4  6B00 0D40                bmi        +0xD42 /* 00005F26 */
  8288. 000051E8  0C40 003A                cmpi.w     D0, 0x3A /* ':' */
  8289. 000051EC  6E00 0D38                bgt        +0xD3A /* 00005F26 */
  8290. 000051F0  D040                     add.w      D0, D0
  8291. 000051F2  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  8292. 000051F6  4EFB 0000                jmp        [PC + D0.w]
  8293. 000051FA  0078 008E 00A6           ori.w      [0x000000A6], 0x8E
  8294. 00005200  00C0                     .incomplete
  8295. 00005202  00D6                     .incomplete
  8296. 00005204  02C8                     .incomplete
  8297. 00005206  02DC                     .incomplete
  8298. 00005208  0D2E 0D2E                btst       [A6 + 0xD2E], D6
  8299. 0000520C  0D2E 0D2E                btst       [A6 + 0xD2E], D6
  8300. 00005210  0302                     btst       D2, D1
  8301. 00005212  048A 0D2E 051E           subi.l     A2, 0xD2E051E
  8302. 00005218  05AE 05CE                bclr       [A6 + 0x5CE], D2
  8303. 0000521C  05F2                     .incomplete
  8304. 0000521E  0614 0638                addi.b     [A4], 0x38 /* '8' */
  8305. 00005222  065C 0D2E                addi.w     [A4]+, 0xD2E /* '\r.' */
  8306. 00005226  0D2E 0680                btst       [A6 + 0x680], D6
  8307. 0000522A  06A0 06DE 0D2E           addi.l     -[A0], 0x6DE0D2E
  8308. 00005230  07CC                     .incomplete
  8309. 00005232  0804 0D2E                btst.b     D4, 0x2E /* '.' */
  8310. 00005236  08E0 0D2E                bset.b     -[A0], 0x2E /* '.' */
  8311. 0000523A  0D2E 0962                btst       [A6 + 0x962], D6
  8312. 0000523E  09B4 0A0E                bclr       [A4 + D0 * 2 + 0xE], D4
  8313. 00005242  0A2E 0A4C 0D2E           xori.b     [A6 + 0xD2E], 0x4C /* 'L' */
  8314. 00005248  0A5A 0A74                xori.w     [A2]+, 0xA74 /* '\nt' */
  8315. 0000524C  0AB0 0AFA 0B26 0D2E 0B5A 0B86 xori.l     [[A0 + 0xB5A] + D0 * 4 + 0xB86], 0xAFA0B26
  8316. 00005258  0BB2 0BE4                bclr       <<invalid full ext with I/IS == 4>>, D5
  8317. 0000525C  0C1A 0D2E                cmpi.b     [A2]+, 0x2E /* '.' */
  8318. 00005260  0C4E 0C7E                cmpi.w     A6, 0xC7E
  8319. 00005264  0CA0 0CBE 0CDC           cmpi.l     -[A0], 0xCBE0CDC
  8320. 0000526A  0CF8                     .incomplete
  8321. 0000526C  0CFC                     .incomplete
  8322. 0000526E  0D18                     btst       [A0]+, D6
  8323. 00005270  206E FFE0                movea.l    A0, [A6 - 0x20]
  8324. 00005274  1028 0723                move.b     D0, [A0 + 0x723]
  8325. 00005278  5300                     subq.b     D0, 1
  8326. 0000527A  7201                     moveq.l    D1, 0x01
  8327. 0000527C  E1A9                     lsl        D1, D0
  8328. 0000527E  3741 001C                move.w     [A3 + 0x1C], D1
  8329. 00005282  6000 0CA4                bra        +0xCA6 /* 00005F28 */
  8330. 00005286  206E FFE0                movea.l    A0, [A6 - 0x20]
  8331. 0000528A  3768 0728 001C           move.w     [A3 + 0x1C], [A0 + 0x728]
  8332. 00005290  206E FFE0                movea.l    A0, [A6 - 0x20]
  8333. 00005294  3768 072A 001E           move.w     [A3 + 0x1E], [A0 + 0x72A]
  8334. 0000529A  6000 0C8C                bra        +0xC8E /* 00005F28 */
  8335. 0000529E  2F3C 00FE 600C           move.l     -[A7], 0xFE600C
  8336. 000052A4  2F07                     move.l     -[A7], D7
  8337. 000052A6  4EBA B8E8                jsr        [PC - 0x4718 /* 00000B90 */]
  8338. 000052AA  7201                     moveq.l    D1, 0x01
  8339. 000052AC  C240                     and.w      D1, D0
  8340. 000052AE  3741 001C                move.w     [A3 + 0x1C], D1
  8341. 000052B2  504F                     addq.w     A7, 8
  8342. 000052B4  6000 0C72                bra        +0xC74 /* 00005F28 */
  8343. 000052B8  2F3C 00FE 6020           move.l     -[A7], 0xFE6020
  8344. 000052BE  2F07                     move.l     -[A7], D7
  8345. 000052C0  4EBA B8CE                jsr        [PC - 0x4732 /* 00000B90 */]
  8346. 000052C4  3740 001C                move.w     [A3 + 0x1C], D0
  8347. 000052C8  504F                     addq.w     A7, 8
  8348. 000052CA  6000 0C5C                bra        +0xC5E /* 00005F28 */
  8349. 000052CE  206E FFDC                movea.l    A0, [A6 - 0x24]
  8350. 000052D2  7000                     moveq.l    D0, 0x00
  8351. 000052D4  1028 003A                move.b     D0, [A0 + 0x3A]
  8352. 000052D8  4A80                     tst.l      D0
  8353. 000052DA  7202                     moveq.l    D1, 0x02
  8354. 000052DC  C200                     and.b      D1, D0
  8355. 000052DE  6704                     beq        +0x6 /* 000052E4 */
  8356. 000052E0  7000                     moveq.l    D0, 0x00
  8357. 000052E2  6002                     bra        +0x4 /* 000052E6 */
  8358. label000052E4:
  8359. 000052E4  7001                     moveq.l    D0, 0x01
  8360. label000052E6:
  8361. 000052E6  4880                     ext.w      D0
  8362. 000052E8  3740 001E                move.w     [A3 + 0x1E], D0
  8363. 000052EC  206E FFDC                movea.l    A0, [A6 - 0x24]
  8364. 000052F0  7062                     moveq.l    D0, 0x62
  8365. 000052F2  B068 0146                cmp.w      D0, [A0 + 0x146]
  8366. 000052F6  660A                     bne        +0xC /* 00005302 */
  8367. 000052F8  377C 0003 001C           move.w     [A3 + 0x1C], 0x3
  8368. 000052FE  6000 019A                bra        +0x19C /* 0000549A */
  8369. label00005302:
  8370. 00005302  426B 001C                clr.w      [A3 + 0x1C]
  8371. 00005306  2F07                     move.l     -[A7], D7
  8372. 00005308  4EBA B6AE                jsr        [PC - 0x4952 /* 000009B8 */]
  8373. 0000530C  3C00                     move.w     D6, D0
  8374. 0000530E  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8375. 00005312  4A6B 001E                tst.w      [A3 + 0x1E]
  8376. 00005316  6704                     beq        +0x6 /* 0000531C */
  8377. 00005318  707A                     moveq.l    D0, 0x7A
  8378. 0000531A  6002                     bra        +0x4 /* 0000531E */
  8379. label0000531C:
  8380. 0000531C  7078                     moveq.l    D0, 0x78
  8381. label0000531E:
  8382. 0000531E  2F00                     move.l     -[A7], D0
  8383. 00005320  700E                     moveq.l    D0, 0x0E
  8384. 00005322  2F00                     move.l     -[A7], D0
  8385. 00005324  4878 008A                push.l     0x8A
  8386. 00005328  4EBA C26C                jsr        [PC - 0x3D94 /* 00001596 */]
  8387. 0000532C  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8388. 00005330  206E FFDC                movea.l    A0, [A6 - 0x24]
  8389. 00005334  7000                     moveq.l    D0, 0x00
  8390. 00005336  1028 0032                move.b     D0, [A0 + 0x32]
  8391. 0000533A  4A80                     tst.l      D0
  8392. 0000533C  323C FF7F                move.w     D1, 0xFF7F
  8393. 00005340  C240                     and.w      D1, D0
  8394. 00005342  7000                     moveq.l    D0, 0x00
  8395. 00005344  3001                     move.w     D0, D1
  8396. 00005346  4A80                     tst.l      D0
  8397. 00005348  4A6B 001E                tst.w      [A3 + 0x1E]
  8398. 0000534C  6708                     beq        +0xA /* 00005356 */
  8399. 0000534E  223C 0000 0080           move.l     D1, 0x80
  8400. 00005354  6002                     bra        +0x4 /* 00005358 */
  8401. label00005356:
  8402. 00005356  7200                     moveq.l    D1, 0x00
  8403. label00005358:
  8404. 00005358  7400                     moveq.l    D2, 0x00
  8405. 0000535A  1401                     move.b     D2, D1
  8406. 0000535C  4A82                     tst.l      D2
  8407. 0000535E  8440                     or.w       D2, D0
  8408. 00005360  2F02                     move.l     -[A7], D2
  8409. 00005362  7006                     moveq.l    D0, 0x06
  8410. 00005364  2F00                     move.l     -[A7], D0
  8411. 00005366  4878 008A                push.l     0x8A
  8412. 0000536A  4EBA C22A                jsr        [PC - 0x3DD6 /* 00001596 */]
  8413. 0000536E  7014                     moveq.l    D0, 0x14
  8414. 00005370  2F00                     move.l     -[A7], D0
  8415. 00005372  4EBA ACEC                jsr        [PC - 0x5314 /* 00000060 */]
  8416. 00005376  7000                     moveq.l    D0, 0x00
  8417. 00005378  2D40 FFF0                move.l     [A6 - 0x10], D0
  8418. 0000537C  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8419. 00005380  2049                     movea.l    A0, A1
  8420. 00005382  A058                     syscall    InsTime
  8421. 00005384  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8422. 00005388  2049                     movea.l    A0, A1
  8423. 0000538A  203C FFFE 7960           move.l     D0, 0xFFFE7960
  8424. 00005390  A05A                     syscall    PrimeTime
  8425. 00005392  4FEF 0028                lea.l      A7, [A7 + 0x28]
  8426. 00005396  602E                     bra        +0x30 /* 000053C6 */
  8427. label00005398:
  8428. 00005398  7007                     moveq.l    D0, 0x07
  8429. 0000539A  2F00                     move.l     -[A7], D0
  8430. 0000539C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8431. 000053A2  7203                     moveq.l    D1, 0x03
  8432. 000053A4  2F01                     move.l     -[A7], D1
  8433. 000053A6  2F07                     move.l     -[A7], D7
  8434. 000053A8  4EBA B778                jsr        [PC - 0x4888 /* 00000B22 */]
  8435. 000053AC  4A40                     tst.w      D0
  8436. 000053AE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8437. 000053B2  6712                     beq        +0x14 /* 000053C6 */
  8438. 000053B4  4A6B 001E                tst.w      [A3 + 0x1E]
  8439. 000053B8  6606                     bne        +0x8 /* 000053C0 */
  8440. 000053BA  546B 001C                addq.w     [A3 + 0x1C], 2
  8441. 000053BE  600C                     bra        +0xE /* 000053CC */
  8442. label000053C0:
  8443. 000053C0  526B 001C                addq.w     [A3 + 0x1C], 1
  8444. 000053C4  6006                     bra        +0x8 /* 000053CC */
  8445. label000053C6:
  8446. 000053C6  4A6E FFEE                tst.w      [A6 - 0x12]
  8447. 000053CA  6DCC                     blt        -0x32 /* 00005398 */
  8448. label000053CC:
  8449. 000053CC  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8450. 000053D0  2049                     movea.l    A0, A1
  8451. 000053D2  A059                     syscall    RmvTime
  8452. 000053D4  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8453. 000053D8  4A6B 001E                tst.w      [A3 + 0x1E]
  8454. 000053DC  6704                     beq        +0x6 /* 000053E2 */
  8455. 000053DE  7078                     moveq.l    D0, 0x78
  8456. 000053E0  6002                     bra        +0x4 /* 000053E4 */
  8457. label000053E2:
  8458. 000053E2  707A                     moveq.l    D0, 0x7A
  8459. label000053E4:
  8460. 000053E4  2F00                     move.l     -[A7], D0
  8461. 000053E6  700E                     moveq.l    D0, 0x0E
  8462. 000053E8  2F00                     move.l     -[A7], D0
  8463. 000053EA  4878 008A                push.l     0x8A
  8464. 000053EE  4EBA C1A6                jsr        [PC - 0x3E5A /* 00001596 */]
  8465. 000053F2  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8466. 000053F6  206E FFDC                movea.l    A0, [A6 - 0x24]
  8467. 000053FA  7000                     moveq.l    D0, 0x00
  8468. 000053FC  1028 0032                move.b     D0, [A0 + 0x32]
  8469. 00005400  4A80                     tst.l      D0
  8470. 00005402  323C FF7F                move.w     D1, 0xFF7F
  8471. 00005406  C240                     and.w      D1, D0
  8472. 00005408  7000                     moveq.l    D0, 0x00
  8473. 0000540A  3001                     move.w     D0, D1
  8474. 0000540C  4A80                     tst.l      D0
  8475. 0000540E  4A6B 001E                tst.w      [A3 + 0x1E]
  8476. 00005412  6708                     beq        +0xA /* 0000541C */
  8477. 00005414  223C 0000 0080           move.l     D1, 0x80
  8478. 0000541A  6002                     bra        +0x4 /* 0000541E */
  8479. label0000541C:
  8480. 0000541C  7200                     moveq.l    D1, 0x00
  8481. label0000541E:
  8482. 0000541E  7400                     moveq.l    D2, 0x00
  8483. 00005420  1401                     move.b     D2, D1
  8484. 00005422  4A82                     tst.l      D2
  8485. 00005424  8440                     or.w       D2, D0
  8486. 00005426  2F02                     move.l     -[A7], D2
  8487. 00005428  7006                     moveq.l    D0, 0x06
  8488. 0000542A  2F00                     move.l     -[A7], D0
  8489. 0000542C  4878 008A                push.l     0x8A
  8490. 00005430  4EBA C164                jsr        [PC - 0x3E9C /* 00001596 */]
  8491. 00005434  7014                     moveq.l    D0, 0x14
  8492. 00005436  2F00                     move.l     -[A7], D0
  8493. 00005438  4EBA AC26                jsr        [PC - 0x53DA /* 00000060 */]
  8494. 0000543C  7000                     moveq.l    D0, 0x00
  8495. 0000543E  2D40 FFF0                move.l     [A6 - 0x10], D0
  8496. 00005442  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8497. 00005446  2049                     movea.l    A0, A1
  8498. 00005448  A058                     syscall    InsTime
  8499. 0000544A  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8500. 0000544E  2049                     movea.l    A0, A1
  8501. 00005450  203C FFFE 7960           move.l     D0, 0xFFFE7960
  8502. 00005456  A05A                     syscall    PrimeTime
  8503. 00005458  4FEF 0024                lea.l      A7, [A7 + 0x24]
  8504. 0000545C  602E                     bra        +0x30 /* 0000548C */
  8505. label0000545E:
  8506. 0000545E  7007                     moveq.l    D0, 0x07
  8507. 00005460  2F00                     move.l     -[A7], D0
  8508. 00005462  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8509. 00005468  7203                     moveq.l    D1, 0x03
  8510. 0000546A  2F01                     move.l     -[A7], D1
  8511. 0000546C  2F07                     move.l     -[A7], D7
  8512. 0000546E  4EBA B6B2                jsr        [PC - 0x494E /* 00000B22 */]
  8513. 00005472  4A40                     tst.w      D0
  8514. 00005474  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8515. 00005478  6712                     beq        +0x14 /* 0000548C */
  8516. 0000547A  4A6B 001E                tst.w      [A3 + 0x1E]
  8517. 0000547E  6606                     bne        +0x8 /* 00005486 */
  8518. 00005480  526B 001C                addq.w     [A3 + 0x1C], 1
  8519. 00005484  600C                     bra        +0xE /* 00005492 */
  8520. label00005486:
  8521. 00005486  546B 001C                addq.w     [A3 + 0x1C], 2
  8522. 0000548A  6006                     bra        +0x8 /* 00005492 */
  8523. label0000548C:
  8524. 0000548C  4A6E FFEE                tst.w      [A6 - 0x12]
  8525. 00005490  6DCC                     blt        -0x32 /* 0000545E */
  8526. label00005492:
  8527. 00005492  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8528. 00005496  2049                     movea.l    A0, A1
  8529. 00005498  A059                     syscall    RmvTime
  8530. label0000549A:
  8531. 0000549A  4A46                     tst.w      D6
  8532. 0000549C  6700 0A8A                beq        +0xA8C /* 00005F28 */
  8533. 000054A0  7001                     moveq.l    D0, 0x01
  8534. 000054A2  2F00                     move.l     -[A7], D0
  8535. 000054A4  7205                     moveq.l    D1, 0x05
  8536. 000054A6  2F01                     move.l     -[A7], D1
  8537. 000054A8  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8538. 000054AE  7003                     moveq.l    D0, 0x03
  8539. 000054B0  2F00                     move.l     -[A7], D0
  8540. 000054B2  2F07                     move.l     -[A7], D7
  8541. 000054B4  4EBA B2BE                jsr        [PC - 0x4D42 /* 00000774 */]
  8542. 000054B8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8543. 000054BC  6000 0A6A                bra        +0xA6C /* 00005F28 */
  8544. 000054C0  206E FFDC                movea.l    A0, [A6 - 0x24]
  8545. 000054C4  7000                     moveq.l    D0, 0x00
  8546. 000054C6  1028 0033                move.b     D0, [A0 + 0x33]
  8547. 000054CA  4A80                     tst.l      D0
  8548. 000054CC  3740 001C                move.w     [A3 + 0x1C], D0
  8549. 000054D0  6000 0A56                bra        +0xA58 /* 00005F28 */
  8550. 000054D4  206E FFDC                movea.l    A0, [A6 - 0x24]
  8551. 000054D8  7062                     moveq.l    D0, 0x62
  8552. 000054DA  B068 0146                cmp.w      D0, [A0 + 0x146]
  8553. 000054DE  6606                     bne        +0x8 /* 000054E6 */
  8554. 000054E0  7AEE                     moveq.l    D5, 0xFFFFFFEE
  8555. 000054E2  6000 0A44                bra        +0xA46 /* 00005F28 */
  8556. label000054E6:
  8557. 000054E6  206E FFDC                movea.l    A0, [A6 - 0x24]
  8558. 000054EA  7000                     moveq.l    D0, 0x00
  8559. 000054EC  1028 003D                move.b     D0, [A0 + 0x3D]
  8560. 000054F0  4A80                     tst.l      D0
  8561. 000054F2  3740 001C                move.w     [A3 + 0x1C], D0
  8562. 000054F6  6000 0A30                bra        +0xA32 /* 00005F28 */
  8563. 000054FA  206E FFDC                movea.l    A0, [A6 - 0x24]
  8564. 000054FE  7062                     moveq.l    D0, 0x62
  8565. 00005500  B068 0146                cmp.w      D0, [A0 + 0x146]
  8566. 00005504  6616                     bne        +0x18 /* 0000551C */
  8567. 00005506  206E FFDC                movea.l    A0, [A6 - 0x24]
  8568. 0000550A  3768 001C 001E           move.w     [A3 + 0x1E], [A0 + 0x1C]
  8569. 00005510  206E FFDC                movea.l    A0, [A6 - 0x24]
  8570. 00005514  3768 001E 0022           move.w     [A3 + 0x22], [A0 + 0x1E]
  8571. 0000551A  6038                     bra        +0x3A /* 00005554 */
  8572. label0000551C:
  8573. 0000551C  4878 03FF                push.l     0x3FF
  8574. 00005520  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  8575. 00005526  7002                     moveq.l    D0, 0x02
  8576. 00005528  2F00                     move.l     -[A7], D0
  8577. 0000552A  2F07                     move.l     -[A7], D7
  8578. 0000552C  4EBA B592                jsr        [PC - 0x4A6E /* 00000AC0 */]
  8579. 00005530  D07C 000F                add.w      D0, 0xF
  8580. 00005534  3740 001E                move.w     [A3 + 0x1E], D0
  8581. 00005538  4878 03FF                push.l     0x3FF
  8582. 0000553C  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  8583. 00005542  7002                     moveq.l    D0, 0x02
  8584. 00005544  2F00                     move.l     -[A7], D0
  8585. 00005546  2F07                     move.l     -[A7], D7
  8586. 00005548  4EBA B576                jsr        [PC - 0x4A8A /* 00000AC0 */]
  8587. 0000554C  3740 0022                move.w     [A3 + 0x22], D0
  8588. 00005550  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8589. label00005554:
  8590. 00005554  206E FFDC                movea.l    A0, [A6 - 0x24]
  8591. 00005558  7062                     moveq.l    D0, 0x62
  8592. 0000555A  B068 0146                cmp.w      D0, [A0 + 0x146]
  8593. 0000555E  6622                     bne        +0x24 /* 00005582 */
  8594. 00005560  206E FFDC                movea.l    A0, [A6 - 0x24]
  8595. 00005564  3028 0020                move.w     D0, [A0 + 0x20]
  8596. 00005568  48C0                     ext.l      D0
  8597. 0000556A  D080                     add.l      D0, D0
  8598. 0000556C  3740 001E                move.w     [A3 + 0x1E], D0
  8599. 00005570  206E FFDC                movea.l    A0, [A6 - 0x24]
  8600. 00005574  3028 0022                move.w     D0, [A0 + 0x22]
  8601. 00005578  48C0                     ext.l      D0
  8602. 0000557A  D080                     add.l      D0, D0
  8603. 0000557C  3740 0022                move.w     [A3 + 0x22], D0
  8604. 00005580  603C                     bra        +0x3E /* 000055BE */
  8605. label00005582:
  8606. 00005582  4878 03FF                push.l     0x3FF
  8607. 00005586  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  8608. 0000558C  7002                     moveq.l    D0, 0x02
  8609. 0000558E  2F00                     move.l     -[A7], D0
  8610. 00005590  2F07                     move.l     -[A7], D7
  8611. 00005592  4EBA B52C                jsr        [PC - 0x4AD4 /* 00000AC0 */]
  8612. 00005596  48C0                     ext.l      D0
  8613. 00005598  D080                     add.l      D0, D0
  8614. 0000559A  3740 001C                move.w     [A3 + 0x1C], D0
  8615. 0000559E  4878 03FF                push.l     0x3FF
  8616. 000055A2  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8617. 000055A8  7002                     moveq.l    D0, 0x02
  8618. 000055AA  2F00                     move.l     -[A7], D0
  8619. 000055AC  2F07                     move.l     -[A7], D7
  8620. 000055AE  4EBA B510                jsr        [PC - 0x4AF0 /* 00000AC0 */]
  8621. 000055B2  48C0                     ext.l      D0
  8622. 000055B4  D080                     add.l      D0, D0
  8623. 000055B6  3740 0020                move.w     [A3 + 0x20], D0
  8624. 000055BA  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8625. label000055BE:
  8626. 000055BE  7004                     moveq.l    D0, 0x04
  8627. 000055C0  2F00                     move.l     -[A7], D0
  8628. 000055C2  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8629. 000055C8  7203                     moveq.l    D1, 0x03
  8630. 000055CA  2F01                     move.l     -[A7], D1
  8631. 000055CC  2F07                     move.l     -[A7], D7
  8632. 000055CE  4EBA B552                jsr        [PC - 0x4AAE /* 00000B22 */]
  8633. 000055D2  4A40                     tst.w      D0
  8634. 000055D4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8635. 000055D8  6706                     beq        +0x8 /* 000055E0 */
  8636. 000055DA  426B 0028                clr.w      [A3 + 0x28]
  8637. 000055DE  6028                     bra        +0x2A /* 00005608 */
  8638. label000055E0:
  8639. 000055E0  7003                     moveq.l    D0, 0x03
  8640. 000055E2  2F00                     move.l     -[A7], D0
  8641. 000055E4  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8642. 000055EA  2F00                     move.l     -[A7], D0
  8643. 000055EC  2F07                     move.l     -[A7], D7
  8644. 000055EE  4EBA B532                jsr        [PC - 0x4ACE /* 00000B22 */]
  8645. 000055F2  4A40                     tst.w      D0
  8646. 000055F4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8647. 000055F8  6708                     beq        +0xA /* 00005602 */
  8648. 000055FA  377C 0001 0028           move.w     [A3 + 0x28], 0x1
  8649. 00005600  6006                     bra        +0x8 /* 00005608 */
  8650. label00005602:
  8651. 00005602  377C 0002 0028           move.w     [A3 + 0x28], 0x2
  8652. label00005608:
  8653. 00005608  7009                     moveq.l    D0, 0x09
  8654. 0000560A  2F00                     move.l     -[A7], D0
  8655. 0000560C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8656. 00005612  7203                     moveq.l    D1, 0x03
  8657. 00005614  2F01                     move.l     -[A7], D1
  8658. 00005616  2F07                     move.l     -[A7], D7
  8659. 00005618  4EBA B508                jsr        [PC - 0x4AF8 /* 00000B22 */]
  8660. 0000561C  4A40                     tst.w      D0
  8661. 0000561E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8662. 00005622  6706                     beq        +0x8 /* 0000562A */
  8663. 00005624  006B 0004 0028           ori.w      [A3 + 0x28], 0x4
  8664. label0000562A:
  8665. 0000562A  4878 01FF                push.l     0x1FF
  8666. 0000562E  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  8667. 00005634  7002                     moveq.l    D0, 0x02
  8668. 00005636  2F00                     move.l     -[A7], D0
  8669. 00005638  2F07                     move.l     -[A7], D7
  8670. 0000563A  4EBA B484                jsr        [PC - 0x4B7C /* 00000AC0 */]
  8671. 0000563E  323C 0100                move.w     D1, 0x100
  8672. 00005642  C240                     and.w      D1, D0
  8673. 00005644  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8674. 00005648  671C                     beq        +0x1E /* 00005666 */
  8675. 0000564A  302B 0022                move.w     D0, [A3 + 0x22]
  8676. 0000564E  906B 001E                sub.w      D0, [A3 + 0x1E]
  8677. 00005652  3740 0024                move.w     [A3 + 0x24], D0
  8678. 00005656  302B 0020                move.w     D0, [A3 + 0x20]
  8679. 0000565A  906B 001C                sub.w      D0, [A3 + 0x1C]
  8680. 0000565E  3740 0026                move.w     [A3 + 0x26], D0
  8681. 00005662  6000 08C4                bra        +0x8C6 /* 00005F28 */
  8682. label00005666:
  8683. 00005666  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8684. 0000566A  4EBA B654                jsr        [PC - 0x49AC /* 00000CC0 */]
  8685. 0000566E  3740 0024                move.w     [A3 + 0x24], D0
  8686. 00005672  2F07                     move.l     -[A7], D7
  8687. 00005674  4EBA B556                jsr        [PC - 0x4AAA /* 00000BCC */]
  8688. 00005678  3740 0026                move.w     [A3 + 0x26], D0
  8689. 0000567C  504F                     addq.w     A7, 8
  8690. 0000567E  6000 08A8                bra        +0x8AA /* 00005F28 */
  8691. 00005682  206E FFDC                movea.l    A0, [A6 - 0x24]
  8692. 00005686  7000                     moveq.l    D0, 0x00
  8693. 00005688  1028 003A                move.b     D0, [A0 + 0x3A]
  8694. 0000568C  4A80                     tst.l      D0
  8695. 0000568E  7202                     moveq.l    D1, 0x02
  8696. 00005690  C200                     and.b      D1, D0
  8697. 00005692  6704                     beq        +0x6 /* 00005698 */
  8698. 00005694  7000                     moveq.l    D0, 0x00
  8699. 00005696  6002                     bra        +0x4 /* 0000569A */
  8700. label00005698:
  8701. 00005698  7001                     moveq.l    D0, 0x01
  8702. label0000569A:
  8703. 0000569A  4880                     ext.w      D0
  8704. 0000569C  3740 001E                move.w     [A3 + 0x1E], D0
  8705. 000056A0  206E FFDC                movea.l    A0, [A6 - 0x24]
  8706. 000056A4  7062                     moveq.l    D0, 0x62
  8707. 000056A6  B068 0146                cmp.w      D0, [A0 + 0x146]
  8708. 000056AA  660A                     bne        +0xC /* 000056B6 */
  8709. 000056AC  377C 0001 001C           move.w     [A3 + 0x1C], 0x1
  8710. 000056B2  6000 0874                bra        +0x876 /* 00005F28 */
  8711. label000056B6:
  8712. 000056B6  426B 001C                clr.w      [A3 + 0x1C]
  8713. 000056BA  7014                     moveq.l    D0, 0x14
  8714. 000056BC  2F00                     move.l     -[A7], D0
  8715. 000056BE  4EBA A9A0                jsr        [PC - 0x5660 /* 00000060 */]
  8716. 000056C2  7000                     moveq.l    D0, 0x00
  8717. 000056C4  2D40 FFF0                move.l     [A6 - 0x10], D0
  8718. 000056C8  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8719. 000056CC  2049                     movea.l    A0, A1
  8720. 000056CE  A058                     syscall    InsTime
  8721. 000056D0  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8722. 000056D4  2049                     movea.l    A0, A1
  8723. 000056D6  203C FFFE 7960           move.l     D0, 0xFFFE7960
  8724. 000056DC  A05A                     syscall    PrimeTime
  8725. 000056DE  584F                     addq.w     A7, 4
  8726. 000056E0  6022                     bra        +0x24 /* 00005704 */
  8727. label000056E2:
  8728. 000056E2  7007                     moveq.l    D0, 0x07
  8729. 000056E4  2F00                     move.l     -[A7], D0
  8730. 000056E6  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8731. 000056EC  7203                     moveq.l    D1, 0x03
  8732. 000056EE  2F01                     move.l     -[A7], D1
  8733. 000056F0  2F07                     move.l     -[A7], D7
  8734. 000056F2  4EBA B42E                jsr        [PC - 0x4BD2 /* 00000B22 */]
  8735. 000056F6  4A40                     tst.w      D0
  8736. 000056F8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8737. 000056FC  6706                     beq        +0x8 /* 00005704 */
  8738. 000056FE  526B 001C                addq.w     [A3 + 0x1C], 1
  8739. 00005702  6006                     bra        +0x8 /* 0000570A */
  8740. label00005704:
  8741. 00005704  4A6E FFEE                tst.w      [A6 - 0x12]
  8742. 00005708  6DD8                     blt        -0x26 /* 000056E2 */
  8743. label0000570A:
  8744. 0000570A  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8745. 0000570E  2049                     movea.l    A0, A1
  8746. 00005710  A059                     syscall    RmvTime
  8747. 00005712  6000 0814                bra        +0x816 /* 00005F28 */
  8748. 00005716  4246                     clr.w      D6
  8749. 00005718  4244                     clr.w      D4
  8750. 0000571A  7004                     moveq.l    D0, 0x04
  8751. 0000571C  2F00                     move.l     -[A7], D0
  8752. 0000571E  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8753. 00005724  7203                     moveq.l    D1, 0x03
  8754. 00005726  2F01                     move.l     -[A7], D1
  8755. 00005728  2F07                     move.l     -[A7], D7
  8756. 0000572A  4EBA B3F6                jsr        [PC - 0x4C0A /* 00000B22 */]
  8757. 0000572E  4A40                     tst.w      D0
  8758. 00005730  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8759. 00005734  660E                     bne        +0x10 /* 00005744 */
  8760. 00005736  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  8761. 0000573A  4EBA B584                jsr        [PC - 0x4A7C /* 00000CC0 */]
  8762. 0000573E  3C00                     move.w     D6, D0
  8763. 00005740  5346                     subq.w     D6, 1
  8764. 00005742  584F                     addq.w     A7, 4
  8765. label00005744:
  8766. 00005744  7003                     moveq.l    D0, 0x03
  8767. 00005746  2F00                     move.l     -[A7], D0
  8768. 00005748  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8769. 0000574E  2F00                     move.l     -[A7], D0
  8770. 00005750  2F07                     move.l     -[A7], D7
  8771. 00005752  4EBA B3CE                jsr        [PC - 0x4C32 /* 00000B22 */]
  8772. 00005756  4A40                     tst.w      D0
  8773. 00005758  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8774. 0000575C  660C                     bne        +0xE /* 0000576A */
  8775. 0000575E  2F07                     move.l     -[A7], D7
  8776. 00005760  4EBA B46A                jsr        [PC - 0x4B96 /* 00000BCC */]
  8777. 00005764  3800                     move.w     D4, D0
  8778. 00005766  5344                     subq.w     D4, 1
  8779. 00005768  584F                     addq.w     A7, 4
  8780. label0000576A:
  8781. 0000576A  4878 03FF                push.l     0x3FF
  8782. 0000576E  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  8783. 00005774  7003                     moveq.l    D0, 0x03
  8784. 00005776  2F00                     move.l     -[A7], D0
  8785. 00005778  2F07                     move.l     -[A7], D7
  8786. 0000577A  4EBA B344                jsr        [PC - 0x4CBC /* 00000AC0 */]
  8787. 0000577E  9046                     sub.w      D0, D6
  8788. 00005780  3740 001E                move.w     [A3 + 0x1E], D0
  8789. 00005784  4878 01FF                push.l     0x1FF
  8790. 00005788  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  8791. 0000578E  7003                     moveq.l    D0, 0x03
  8792. 00005790  2F00                     move.l     -[A7], D0
  8793. 00005792  2F07                     move.l     -[A7], D7
  8794. 00005794  4EBA B32A                jsr        [PC - 0x4CD6 /* 00000AC0 */]
  8795. 00005798  9044                     sub.w      D0, D4
  8796. 0000579A  3740 001C                move.w     [A3 + 0x1C], D0
  8797. 0000579E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8798. 000057A2  6000 0784                bra        +0x786 /* 00005F28 */
  8799. 000057A6  4878 00FF                push.l     0xFF
  8800. 000057AA  2F3C 00FE 7004           move.l     -[A7], 0xFE7004
  8801. 000057B0  7003                     moveq.l    D0, 0x03
  8802. 000057B2  2F00                     move.l     -[A7], D0
  8803. 000057B4  2F07                     move.l     -[A7], D7
  8804. 000057B6  4EBA B308                jsr        [PC - 0x4CF8 /* 00000AC0 */]
  8805. 000057BA  3740 001C                move.w     [A3 + 0x1C], D0
  8806. 000057BE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8807. 000057C2  6000 0764                bra        +0x766 /* 00005F28 */
  8808. 000057C6  7004                     moveq.l    D0, 0x04
  8809. 000057C8  2F00                     move.l     -[A7], D0
  8810. 000057CA  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8811. 000057D0  7203                     moveq.l    D1, 0x03
  8812. 000057D2  2F01                     move.l     -[A7], D1
  8813. 000057D4  2F07                     move.l     -[A7], D7
  8814. 000057D6  4EBA B34A                jsr        [PC - 0x4CB6 /* 00000B22 */]
  8815. 000057DA  7201                     moveq.l    D1, 0x01
  8816. 000057DC  B340                     xor.w      D0, D1
  8817. 000057DE  3740 001C                move.w     [A3 + 0x1C], D0
  8818. 000057E2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8819. 000057E6  6000 0740                bra        +0x742 /* 00005F28 */
  8820. 000057EA  7003                     moveq.l    D0, 0x03
  8821. 000057EC  2F00                     move.l     -[A7], D0
  8822. 000057EE  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8823. 000057F4  2F00                     move.l     -[A7], D0
  8824. 000057F6  2F07                     move.l     -[A7], D7
  8825. 000057F8  4EBA B328                jsr        [PC - 0x4CD8 /* 00000B22 */]
  8826. 000057FC  7201                     moveq.l    D1, 0x01
  8827. 000057FE  B340                     xor.w      D0, D1
  8828. 00005800  3740 001C                move.w     [A3 + 0x1C], D0
  8829. 00005804  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8830. 00005808  6000 071E                bra        +0x720 /* 00005F28 */
  8831. 0000580C  7002                     moveq.l    D0, 0x02
  8832. 0000580E  2F00                     move.l     -[A7], D0
  8833. 00005810  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8834. 00005816  7203                     moveq.l    D1, 0x03
  8835. 00005818  2F01                     move.l     -[A7], D1
  8836. 0000581A  2F07                     move.l     -[A7], D7
  8837. 0000581C  4EBA B304                jsr        [PC - 0x4CFC /* 00000B22 */]
  8838. 00005820  7201                     moveq.l    D1, 0x01
  8839. 00005822  B340                     xor.w      D0, D1
  8840. 00005824  3740 001C                move.w     [A3 + 0x1C], D0
  8841. 00005828  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8842. 0000582C  6000 06FA                bra        +0x6FC /* 00005F28 */
  8843. 00005830  7001                     moveq.l    D0, 0x01
  8844. 00005832  2F00                     move.l     -[A7], D0
  8845. 00005834  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8846. 0000583A  7203                     moveq.l    D1, 0x03
  8847. 0000583C  2F01                     move.l     -[A7], D1
  8848. 0000583E  2F07                     move.l     -[A7], D7
  8849. 00005840  4EBA B2E0                jsr        [PC - 0x4D20 /* 00000B22 */]
  8850. 00005844  7201                     moveq.l    D1, 0x01
  8851. 00005846  B340                     xor.w      D0, D1
  8852. 00005848  3740 001C                move.w     [A3 + 0x1C], D0
  8853. 0000584C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8854. 00005850  6000 06D6                bra        +0x6D8 /* 00005F28 */
  8855. 00005854  7000                     moveq.l    D0, 0x00
  8856. 00005856  2F00                     move.l     -[A7], D0
  8857. 00005858  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  8858. 0000585E  7203                     moveq.l    D1, 0x03
  8859. 00005860  2F01                     move.l     -[A7], D1
  8860. 00005862  2F07                     move.l     -[A7], D7
  8861. 00005864  4EBA B2BC                jsr        [PC - 0x4D44 /* 00000B22 */]
  8862. 00005868  7201                     moveq.l    D1, 0x01
  8863. 0000586A  B340                     xor.w      D0, D1
  8864. 0000586C  3740 001C                move.w     [A3 + 0x1C], D0
  8865. 00005870  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8866. 00005874  6000 06B2                bra        +0x6B4 /* 00005F28 */
  8867. 00005878  7001                     moveq.l    D0, 0x01
  8868. 0000587A  2F00                     move.l     -[A7], D0
  8869. 0000587C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8870. 00005882  7203                     moveq.l    D1, 0x03
  8871. 00005884  2F01                     move.l     -[A7], D1
  8872. 00005886  2F07                     move.l     -[A7], D7
  8873. 00005888  4EBA B298                jsr        [PC - 0x4D68 /* 00000B22 */]
  8874. 0000588C  3740 001C                move.w     [A3 + 0x1C], D0
  8875. 00005890  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8876. 00005894  6000 0692                bra        +0x694 /* 00005F28 */
  8877. 00005898  7005                     moveq.l    D0, 0x05
  8878. 0000589A  2F00                     move.l     -[A7], D0
  8879. 0000589C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8880. 000058A2  7203                     moveq.l    D1, 0x03
  8881. 000058A4  2F01                     move.l     -[A7], D1
  8882. 000058A6  2F07                     move.l     -[A7], D7
  8883. 000058A8  4EBA B278                jsr        [PC - 0x4D88 /* 00000B22 */]
  8884. 000058AC  2D40 FFD4                move.l     [A6 - 0x2C], D0
  8885. 000058B0  7002                     moveq.l    D0, 0x02
  8886. 000058B2  2F00                     move.l     -[A7], D0
  8887. 000058B4  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8888. 000058BA  7203                     moveq.l    D1, 0x03
  8889. 000058BC  2F01                     move.l     -[A7], D1
  8890. 000058BE  2F07                     move.l     -[A7], D7
  8891. 000058C0  4EBA B260                jsr        [PC - 0x4DA0 /* 00000B22 */]
  8892. 000058C4  222E FFD4                move.l     D1, [A6 - 0x2C]
  8893. 000058C8  C041                     and.w      D0, D1
  8894. 000058CA  3740 001C                move.w     [A3 + 0x1C], D0
  8895. 000058CE  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8896. 000058D2  6000 0654                bra        +0x656 /* 00005F28 */
  8897. 000058D6  7000                     moveq.l    D0, 0x00
  8898. 000058D8  2F00                     move.l     -[A7], D0
  8899. 000058DA  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8900. 000058E0  7203                     moveq.l    D1, 0x03
  8901. 000058E2  2F01                     move.l     -[A7], D1
  8902. 000058E4  2F07                     move.l     -[A7], D7
  8903. 000058E6  4EBA B23A                jsr        [PC - 0x4DC6 /* 00000B22 */]
  8904. 000058EA  48C0                     ext.l      D0
  8905. 000058EC  E388                     lsl        D0, 1
  8906. 000058EE  3740 001C                move.w     [A3 + 0x1C], D0
  8907. 000058F2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8908. 000058F6  6700 0630                beq        +0x632 /* 00005F28 */
  8909. 000058FA  7002                     moveq.l    D0, 0x02
  8910. 000058FC  2F00                     move.l     -[A7], D0
  8911. 000058FE  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8912. 00005904  7203                     moveq.l    D1, 0x03
  8913. 00005906  2F01                     move.l     -[A7], D1
  8914. 00005908  2F07                     move.l     -[A7], D7
  8915. 0000590A  4EBA B216                jsr        [PC - 0x4DEA /* 00000B22 */]
  8916. 0000590E  4A40                     tst.w      D0
  8917. 00005910  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8918. 00005914  6606                     bne        +0x8 /* 0000591C */
  8919. 00005916  377C 0001 001C           move.w     [A3 + 0x1C], 0x1
  8920. label0000591C:
  8921. 0000591C  4A6B 001E                tst.w      [A3 + 0x1E]
  8922. 00005920  6700 0606                beq        +0x608 /* 00005F28 */
  8923. 00005924  7001                     moveq.l    D0, 0x01
  8924. 00005926  B06B 001C                cmp.w      D0, [A3 + 0x1C]
  8925. 0000592A  671E                     beq        +0x20 /* 0000594A */
  8926. 0000592C  7005                     moveq.l    D0, 0x05
  8927. 0000592E  2F00                     move.l     -[A7], D0
  8928. 00005930  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8929. 00005936  7203                     moveq.l    D1, 0x03
  8930. 00005938  2F01                     move.l     -[A7], D1
  8931. 0000593A  2F07                     move.l     -[A7], D7
  8932. 0000593C  4EBA B1E4                jsr        [PC - 0x4E1C /* 00000B22 */]
  8933. 00005940  4A40                     tst.w      D0
  8934. 00005942  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8935. 00005946  6600 05E0                bne        +0x5E2 /* 00005F28 */
  8936. label0000594A:
  8937. 0000594A  7000                     moveq.l    D0, 0x00
  8938. 0000594C  2D40 FFF0                move.l     [A6 - 0x10], D0
  8939. 00005950  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8940. 00005954  2049                     movea.l    A0, A1
  8941. 00005956  A058                     syscall    InsTime
  8942. 00005958  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8943. 0000595C  2049                     movea.l    A0, A1
  8944. 0000595E  203C FFFE A070           move.l     D0, 0xFFFEA070
  8945. 00005964  A05A                     syscall    PrimeTime
  8946. 00005966  6022                     bra        +0x24 /* 0000598A */
  8947. label00005968:
  8948. 00005968  7000                     moveq.l    D0, 0x00
  8949. 0000596A  2F00                     move.l     -[A7], D0
  8950. 0000596C  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8951. 00005972  7203                     moveq.l    D1, 0x03
  8952. 00005974  2F01                     move.l     -[A7], D1
  8953. 00005976  2F07                     move.l     -[A7], D7
  8954. 00005978  4EBA B1A8                jsr        [PC - 0x4E58 /* 00000B22 */]
  8955. 0000597C  4A40                     tst.w      D0
  8956. 0000597E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8957. 00005982  6606                     bne        +0x8 /* 0000598A */
  8958. 00005984  426B 001C                clr.w      [A3 + 0x1C]
  8959. 00005988  6006                     bra        +0x8 /* 00005990 */
  8960. label0000598A:
  8961. 0000598A  4A6E FFEE                tst.w      [A6 - 0x12]
  8962. 0000598E  6DD8                     blt        -0x26 /* 00005968 */
  8963. label00005990:
  8964. 00005990  43EE FFEA                lea.l      A1, [A6 - 0x16]
  8965. 00005994  2049                     movea.l    A0, A1
  8966. 00005996  A059                     syscall    RmvTime
  8967. 00005998  4AAE FFF4                tst.l      [A6 - 0xC]
  8968. 0000599C  6600 058A                bne        +0x58C /* 00005F28 */
  8969. 000059A0  7001                     moveq.l    D0, 0x01
  8970. 000059A2  2F00                     move.l     -[A7], D0
  8971. 000059A4  7208                     moveq.l    D1, 0x08
  8972. 000059A6  2F01                     move.l     -[A7], D1
  8973. 000059A8  2F3C 00FE 7010           move.l     -[A7], 0xFE7010
  8974. 000059AE  7003                     moveq.l    D0, 0x03
  8975. 000059B0  2F00                     move.l     -[A7], D0
  8976. 000059B2  2F07                     move.l     -[A7], D7
  8977. 000059B4  4EBA ADBE                jsr        [PC - 0x5242 /* 00000774 */]
  8978. 000059B8  3A3C E0AE                move.w     D5, 0xE0AE
  8979. 000059BC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8980. 000059C0  6000 0566                bra        +0x568 /* 00005F28 */
  8981. 000059C4  206E FFDC                movea.l    A0, [A6 - 0x24]
  8982. 000059C8  3028 0016                move.w     D0, [A0 + 0x16]
  8983. 000059CC  48C0                     ext.l      D0
  8984. 000059CE  D080                     add.l      D0, D0
  8985. 000059D0  3740 001C                move.w     [A3 + 0x1C], D0
  8986. 000059D4  206E FFDC                movea.l    A0, [A6 - 0x24]
  8987. 000059D8  3028 0018                move.w     D0, [A0 + 0x18]
  8988. 000059DC  48C0                     ext.l      D0
  8989. 000059DE  D080                     add.l      D0, D0
  8990. 000059E0  3740 0020                move.w     [A3 + 0x20], D0
  8991. 000059E4  206E FFDC                movea.l    A0, [A6 - 0x24]
  8992. 000059E8  3768 0010 001E           move.w     [A3 + 0x1E], [A0 + 0x10]
  8993. 000059EE  206E FFDC                movea.l    A0, [A6 - 0x24]
  8994. 000059F2  3768 0012 0022           move.w     [A3 + 0x22], [A0 + 0x12]
  8995. 000059F8  6000 052E                bra        +0x530 /* 00005F28 */
  8996. 000059FC  4878 01FF                push.l     0x1FF
  8997. 00005A00  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  8998. 00005A06  7003                     moveq.l    D0, 0x03
  8999. 00005A08  2F00                     move.l     -[A7], D0
  9000. 00005A0A  2F07                     move.l     -[A7], D7
  9001. 00005A0C  4EBA B0B2                jsr        [PC - 0x4F4E /* 00000AC0 */]
  9002. 00005A10  3740 001C                move.w     [A3 + 0x1C], D0
  9003. 00005A14  4878 01FF                push.l     0x1FF
  9004. 00005A18  2F3C 00FE 700C           move.l     -[A7], 0xFE700C
  9005. 00005A1E  7003                     moveq.l    D0, 0x03
  9006. 00005A20  2F00                     move.l     -[A7], D0
  9007. 00005A22  2F07                     move.l     -[A7], D7
  9008. 00005A24  4EBA B09A                jsr        [PC - 0x4F66 /* 00000AC0 */]
  9009. 00005A28  3740 0020                move.w     [A3 + 0x20], D0
  9010. 00005A2C  4878 03FF                push.l     0x3FF
  9011. 00005A30  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  9012. 00005A36  7003                     moveq.l    D0, 0x03
  9013. 00005A38  2F00                     move.l     -[A7], D0
  9014. 00005A3A  2F07                     move.l     -[A7], D7
  9015. 00005A3C  4EBA B082                jsr        [PC - 0x4F7E /* 00000AC0 */]
  9016. 00005A40  3740 001E                move.w     [A3 + 0x1E], D0
  9017. 00005A44  4878 03FF                push.l     0x3FF
  9018. 00005A48  2F3C 00FE 7000           move.l     -[A7], 0xFE7000
  9019. 00005A4E  7003                     moveq.l    D0, 0x03
  9020. 00005A50  2F00                     move.l     -[A7], D0
  9021. 00005A52  2F07                     move.l     -[A7], D7
  9022. 00005A54  4EBA B06A                jsr        [PC - 0x4F96 /* 00000AC0 */]
  9023. 00005A58  3740 0022                move.w     [A3 + 0x22], D0
  9024. 00005A5C  7004                     moveq.l    D0, 0x04
  9025. 00005A5E  2F00                     move.l     -[A7], D0
  9026. 00005A60  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  9027. 00005A66  7203                     moveq.l    D1, 0x03
  9028. 00005A68  2F01                     move.l     -[A7], D1
  9029. 00005A6A  2F07                     move.l     -[A7], D7
  9030. 00005A6C  4EBA B0B4                jsr        [PC - 0x4F4C /* 00000B22 */]
  9031. 00005A70  4A40                     tst.w      D0
  9032. 00005A72  4FEF 0050                lea.l      A7, [A7 + 0x50]
  9033. 00005A76  6614                     bne        +0x16 /* 00005A8C */
  9034. 00005A78  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9035. 00005A7C  4EBA B242                jsr        [PC - 0x4DBE /* 00000CC0 */]
  9036. 00005A80  916B 001E                sub.w      [A3 + 0x1E], D0
  9037. 00005A84  526B 0022                addq.w     [A3 + 0x22], 1
  9038. 00005A88  584F                     addq.w     A7, 4
  9039. 00005A8A  600E                     bra        +0x10 /* 00005A9A */
  9040. label00005A8C:
  9041. 00005A8C  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9042. 00005A90  4EBA B22E                jsr        [PC - 0x4DD2 /* 00000CC0 */]
  9043. 00005A94  D16B 0022                add.w      [A3 + 0x22], D0
  9044. 00005A98  584F                     addq.w     A7, 4
  9045. label00005A9A:
  9046. 00005A9A  7003                     moveq.l    D0, 0x03
  9047. 00005A9C  2F00                     move.l     -[A7], D0
  9048. 00005A9E  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  9049. 00005AA4  2F00                     move.l     -[A7], D0
  9050. 00005AA6  2F07                     move.l     -[A7], D7
  9051. 00005AA8  4EBA B078                jsr        [PC - 0x4F88 /* 00000B22 */]
  9052. 00005AAC  4A40                     tst.w      D0
  9053. 00005AAE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9054. 00005AB2  6614                     bne        +0x16 /* 00005AC8 */
  9055. 00005AB4  2F07                     move.l     -[A7], D7
  9056. 00005AB6  4EBA B114                jsr        [PC - 0x4EEC /* 00000BCC */]
  9057. 00005ABA  916B 001C                sub.w      [A3 + 0x1C], D0
  9058. 00005ABE  526B 0020                addq.w     [A3 + 0x20], 1
  9059. 00005AC2  584F                     addq.w     A7, 4
  9060. 00005AC4  6000 0462                bra        +0x464 /* 00005F28 */
  9061. label00005AC8:
  9062. 00005AC8  2F07                     move.l     -[A7], D7
  9063. 00005ACA  4EBA B100                jsr        [PC - 0x4F00 /* 00000BCC */]
  9064. 00005ACE  D16B 0020                add.w      [A3 + 0x20], D0
  9065. 00005AD2  584F                     addq.w     A7, 4
  9066. 00005AD4  6000 0452                bra        +0x454 /* 00005F28 */
  9067. 00005AD8  302B 001C                move.w     D0, [A3 + 0x1C]
  9068. 00005ADC  E040                     asr        D0.w, 8
  9069. 00005ADE  0C40 0052                cmpi.w     D0, 0x52 /* 'R' */
  9070. 00005AE2  662A                     bne        +0x2C /* 00005B0E */
  9071. 00005AE4  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9072. 00005AE8  486B 001E                pea.l      [A3 + 0x1E]
  9073. 00005AEC  303C 00FF                move.w     D0, 0xFF
  9074. 00005AF0  C06B 001C                and.w      D0, [A3 + 0x1C]
  9075. 00005AF4  7200                     moveq.l    D1, 0x00
  9076. 00005AF6  3200                     move.w     D1, D0
  9077. 00005AF8  4A81                     tst.l      D1
  9078. 00005AFA  2F01                     move.l     -[A7], D1
  9079. 00005AFC  4878 00A0                push.l     0xA0
  9080. 00005B00  4EBA C9C0                jsr        [PC - 0x3640 /* 000024C2 */]
  9081. 00005B04  3A00                     move.w     D5, D0
  9082. 00005B06  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9083. 00005B0A  6000 041C                bra        +0x41E /* 00005F28 */
  9084. label00005B0E:
  9085. 00005B0E  703F                     moveq.l    D0, 0x3F
  9086. 00005B10  2F00                     move.l     -[A7], D0
  9087. 00005B12  7200                     moveq.l    D1, 0x00
  9088. 00005B14  2F01                     move.l     -[A7], D1
  9089. 00005B16  342B 001C                move.w     D2, [A3 + 0x1C]
  9090. 00005B1A  48C2                     ext.l      D2
  9091. 00005B1C  2F02                     move.l     -[A7], D2
  9092. 00005B1E  4EBA ABDC                jsr        [PC - 0x5424 /* 000006FC */]
  9093. 00005B22  4A40                     tst.w      D0
  9094. 00005B24  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9095. 00005B28  6728                     beq        +0x2A /* 00005B52 */
  9096. 00005B2A  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9097. 00005B2E  486B 001E                pea.l      [A3 + 0x1E]
  9098. 00005B32  302B 001C                move.w     D0, [A3 + 0x1C]
  9099. 00005B36  48C0                     ext.l      D0
  9100. 00005B38  D0BC 0000 00C0           add.l      D0, 0xC0
  9101. 00005B3E  2F00                     move.l     -[A7], D0
  9102. 00005B40  4878 00A0                push.l     0xA0
  9103. 00005B44  4EBA C97C                jsr        [PC - 0x3684 /* 000024C2 */]
  9104. 00005B48  3A00                     move.w     D5, D0
  9105. 00005B4A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9106. 00005B4E  6000 03D8                bra        +0x3DA /* 00005F28 */
  9107. label00005B52:
  9108. 00005B52  3A3C E0AC                move.w     D5, 0xE0AC
  9109. 00005B56  6000 03D0                bra        +0x3D2 /* 00005F28 */
  9110. 00005B5A  206E FFDC                movea.l    A0, [A6 - 0x24]
  9111. 00005B5E  7062                     moveq.l    D0, 0x62
  9112. 00005B60  B068 0146                cmp.w      D0, [A0 + 0x146]
  9113. 00005B64  6622                     bne        +0x24 /* 00005B88 */
  9114. 00005B66  206E FFDC                movea.l    A0, [A6 - 0x24]
  9115. 00005B6A  7000                     moveq.l    D0, 0x00
  9116. 00005B6C  1028 0034                move.b     D0, [A0 + 0x34]
  9117. 00005B70  4A80                     tst.l      D0
  9118. 00005B72  7220                     moveq.l    D1, 0x20
  9119. 00005B74  C200                     and.b      D1, D0
  9120. 00005B76  6704                     beq        +0x6 /* 00005B7C */
  9121. 00005B78  7001                     moveq.l    D0, 0x01
  9122. 00005B7A  6002                     bra        +0x4 /* 00005B7E */
  9123. label00005B7C:
  9124. 00005B7C  7000                     moveq.l    D0, 0x00
  9125. label00005B7E:
  9126. 00005B7E  4880                     ext.w      D0
  9127. 00005B80  3740 001C                move.w     [A3 + 0x1C], D0
  9128. 00005B84  6000 03A2                bra        +0x3A4 /* 00005F28 */
  9129. label00005B88:
  9130. 00005B88  206E FFDC                movea.l    A0, [A6 - 0x24]
  9131. 00005B8C  7000                     moveq.l    D0, 0x00
  9132. 00005B8E  1028 0039                move.b     D0, [A0 + 0x39]
  9133. 00005B92  4A80                     tst.l      D0
  9134. 00005B94  323C 0080                move.w     D1, 0x80
  9135. 00005B98  C200                     and.b      D1, D0
  9136. 00005B9A  6704                     beq        +0x6 /* 00005BA0 */
  9137. 00005B9C  7001                     moveq.l    D0, 0x01
  9138. 00005B9E  6002                     bra        +0x4 /* 00005BA2 */
  9139. label00005BA0:
  9140. 00005BA0  7000                     moveq.l    D0, 0x00
  9141. label00005BA2:
  9142. 00005BA2  4880                     ext.w      D0
  9143. 00005BA4  3740 001C                move.w     [A3 + 0x1C], D0
  9144. 00005BA8  6000 037E                bra        +0x380 /* 00005F28 */
  9145. 00005BAC  7005                     moveq.l    D0, 0x05
  9146. 00005BAE  2F00                     move.l     -[A7], D0
  9147. 00005BB0  2F3C 00FE 7008           move.l     -[A7], 0xFE7008
  9148. 00005BB6  7203                     moveq.l    D1, 0x03
  9149. 00005BB8  2F01                     move.l     -[A7], D1
  9150. 00005BBA  2F07                     move.l     -[A7], D7
  9151. 00005BBC  4EBA AF64                jsr        [PC - 0x509C /* 00000B22 */]
  9152. 00005BC0  4A40                     tst.w      D0
  9153. 00005BC2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9154. 00005BC6  6704                     beq        +0x6 /* 00005BCC */
  9155. 00005BC8  7000                     moveq.l    D0, 0x00
  9156. 00005BCA  6002                     bra        +0x4 /* 00005BCE */
  9157. label00005BCC:
  9158. 00005BCC  7001                     moveq.l    D0, 0x01
  9159. label00005BCE:
  9160. 00005BCE  4880                     ext.w      D0
  9161. 00005BD0  3740 001C                move.w     [A3 + 0x1C], D0
  9162. 00005BD4  4878 01FF                push.l     0x1FF
  9163. 00005BD8  2F3C 00FE 701C           move.l     -[A7], 0xFE701C
  9164. 00005BDE  7002                     moveq.l    D0, 0x02
  9165. 00005BE0  2F00                     move.l     -[A7], D0
  9166. 00005BE2  2F07                     move.l     -[A7], D7
  9167. 00005BE4  4EBA AEDA                jsr        [PC - 0x5126 /* 00000AC0 */]
  9168. 00005BE8  323C 0080                move.w     D1, 0x80
  9169. 00005BEC  C240                     and.w      D1, D0
  9170. 00005BEE  7000                     moveq.l    D0, 0x00
  9171. 00005BF0  3001                     move.w     D0, D1
  9172. 00005BF2  4A80                     tst.l      D0
  9173. 00005BF4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9174. 00005BF8  6600 032E                bne        +0x330 /* 00005F28 */
  9175. 00005BFC  0A6B 0001 001C           xori.w     [A3 + 0x1C], 0x1
  9176. 00005C02  6000 0324                bra        +0x326 /* 00005F28 */
  9177. 00005C06  7002                     moveq.l    D0, 0x02
  9178. 00005C08  2F00                     move.l     -[A7], D0
  9179. 00005C0A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9180. 00005C10  7203                     moveq.l    D1, 0x03
  9181. 00005C12  2F01                     move.l     -[A7], D1
  9182. 00005C14  2F07                     move.l     -[A7], D7
  9183. 00005C16  4EBA AF0A                jsr        [PC - 0x50F6 /* 00000B22 */]
  9184. 00005C1A  3740 001C                move.w     [A3 + 0x1C], D0
  9185. 00005C1E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9186. 00005C22  6000 0304                bra        +0x306 /* 00005F28 */
  9187. 00005C26  7003                     moveq.l    D0, 0x03
  9188. 00005C28  2F00                     move.l     -[A7], D0
  9189. 00005C2A  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9190. 00005C30  2F00                     move.l     -[A7], D0
  9191. 00005C32  2F07                     move.l     -[A7], D7
  9192. 00005C34  4EBA AEEC                jsr        [PC - 0x5114 /* 00000B22 */]
  9193. 00005C38  3740 001C                move.w     [A3 + 0x1C], D0
  9194. 00005C3C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9195. 00005C40  6000 02E6                bra        +0x2E8 /* 00005F28 */
  9196. 00005C44  206E FFDC                movea.l    A0, [A6 - 0x24]
  9197. 00005C48  3768 0026 001C           move.w     [A3 + 0x1C], [A0 + 0x26]
  9198. 00005C4E  6000 02D8                bra        +0x2DA /* 00005F28 */
  9199. 00005C52  206E FFD8                movea.l    A0, [A6 - 0x28]
  9200. 00005C56  3750 001C                move.w     [A3 + 0x1C], [A0]
  9201. 00005C5A  206E FFD8                movea.l    A0, [A6 - 0x28]
  9202. 00005C5E  3028 0002                move.w     D0, [A0 + 0x2]
  9203. 00005C62  5240                     addq.w     D0, 1
  9204. 00005C64  3740 001E                move.w     [A3 + 0x1E], D0
  9205. 00005C68  6000 02BE                bra        +0x2C0 /* 00005F28 */
  9206. 00005C6C  4878 00FF                push.l     0xFF
  9207. 00005C70  7000                     moveq.l    D0, 0x00
  9208. 00005C72  2F00                     move.l     -[A7], D0
  9209. 00005C74  322B 001C                move.w     D1, [A3 + 0x1C]
  9210. 00005C78  48C1                     ext.l      D1
  9211. 00005C7A  2F01                     move.l     -[A7], D1
  9212. 00005C7C  4EBA AA7E                jsr        [PC - 0x5582 /* 000006FC */]
  9213. 00005C80  4A40                     tst.w      D0
  9214. 00005C82  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9215. 00005C86  6718                     beq        +0x1A /* 00005CA0 */
  9216. 00005C88  206E FFDC                movea.l    A0, [A6 - 0x24]
  9217. 00005C8C  302B 001C                move.w     D0, [A3 + 0x1C]
  9218. 00005C90  7200                     moveq.l    D1, 0x00
  9219. 00005C92  1230 002C                move.b     D1, [A0 + D0.w + 0x2C]
  9220. 00005C96  4A81                     tst.l      D1
  9221. 00005C98  3741 001E                move.w     [A3 + 0x1E], D1
  9222. 00005C9C  6000 028A                bra        +0x28C /* 00005F28 */
  9223. label00005CA0:
  9224. 00005CA0  3A3C E096                move.w     D5, 0xE096
  9225. 00005CA4  6000 0282                bra        +0x284 /* 00005F28 */
  9226. 00005CA8  1D7C 0001 FFE9           move.b     [A6 - 0x17], 0x1
  9227. 00005CAE  43EE FFE9                lea.l      A1, [A6 - 0x17]
  9228. 00005CB2  2049                     movea.l    A0, A1
  9229. 00005CB4  1010                     move.b     D0, [A0]
  9230. 00005CB6  A05D                     syscall    SwapMMUMode
  9231. 00005CB8  1080                     move.b     [A0], D0
  9232. 00005CBA  7C00                     moveq.l    D6, 0x00
  9233. 00005CBC  1C14                     move.b     D6, [A4]
  9234. 00005CBE  4A86                     tst.l      D6
  9235. 00005CC0  4214                     clr.b      [A4]
  9236. 00005CC2  206E FFE4                movea.l    A0, [A6 - 0x1C]
  9237. 00005CC6  7000                     moveq.l    D0, 0x00
  9238. 00005CC8  1010                     move.b     D0, [A0]
  9239. 00005CCA  4A80                     tst.l      D0
  9240. 00005CCC  7204                     moveq.l    D1, 0x04
  9241. 00005CCE  C200                     and.b      D1, D0
  9242. 00005CD0  6704                     beq        +0x6 /* 00005CD6 */
  9243. 00005CD2  7001                     moveq.l    D0, 0x01
  9244. 00005CD4  6002                     bra        +0x4 /* 00005CD8 */
  9245. label00005CD6:
  9246. 00005CD6  7000                     moveq.l    D0, 0x00
  9247. label00005CD8:
  9248. 00005CD8  4880                     ext.w      D0
  9249. 00005CDA  3800                     move.w     D4, D0
  9250. 00005CDC  1886                     move.b     [A4], D6
  9251. 00005CDE  43EE FFE9                lea.l      A1, [A6 - 0x17]
  9252. 00005CE2  2049                     movea.l    A0, A1
  9253. 00005CE4  1010                     move.b     D0, [A0]
  9254. 00005CE6  A05D                     syscall    SwapMMUMode
  9255. 00005CE8  1080                     move.b     [A0], D0
  9256. 00005CEA  3744 001C                move.w     [A3 + 0x1C], D4
  9257. 00005CEE  6000 0238                bra        +0x23A /* 00005F28 */
  9258. 00005CF2  7006                     moveq.l    D0, 0x06
  9259. 00005CF4  2F00                     move.l     -[A7], D0
  9260. 00005CF6  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9261. 00005CFC  7203                     moveq.l    D1, 0x03
  9262. 00005CFE  2F01                     move.l     -[A7], D1
  9263. 00005D00  2F07                     move.l     -[A7], D7
  9264. 00005D02  4EBA AE1E                jsr        [PC - 0x51E2 /* 00000B22 */]
  9265. 00005D06  4A40                     tst.w      D0
  9266. 00005D08  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9267. 00005D0C  6704                     beq        +0x6 /* 00005D12 */
  9268. 00005D0E  7000                     moveq.l    D0, 0x00
  9269. 00005D10  6002                     bra        +0x4 /* 00005D14 */
  9270. label00005D12:
  9271. 00005D12  7001                     moveq.l    D0, 0x01
  9272. label00005D14:
  9273. 00005D14  4880                     ext.w      D0
  9274. 00005D16  3740 001C                move.w     [A3 + 0x1C], D0
  9275. 00005D1A  6000 020C                bra        +0x20E /* 00005F28 */
  9276. 00005D1E  4AAB 001C                tst.l      [A3 + 0x1C]
  9277. 00005D22  6726                     beq        +0x28 /* 00005D4A */
  9278. 00005D24  598F                     subq.l     A7, 4
  9279. 00005D26  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  9280. 00005D2A  4EBA 0244                jsr        [PC + 0x244 /* 00005F70 */]
  9281. 00005D2E  285F                     movea.l    A4, [A7]+
  9282. 00005D30  7C01                     moveq.l    D6, 0x01
  9283. 00005D32  363C 0101                move.w     D3, 0x101
  9284. label00005D36:
  9285. 00005D36  206E FFDC                movea.l    A0, [A6 - 0x24]
  9286. 00005D3A  18F0 6045                move.b     [A4]+, [A0 + D6.w + 0x45]
  9287. 00005D3E  3006                     move.w     D0, D6
  9288. 00005D40  5246                     addq.w     D6, 1
  9289. 00005D42  B646                     cmp.w      D3, D6
  9290. 00005D44  6EF0                     bgt        -0xE /* 00005D36 */
  9291. 00005D46  6000 01E0                bra        +0x1E2 /* 00005F28 */
  9292. label00005D4A:
  9293. 00005D4A  3A3C E095                move.w     D5, 0xE095
  9294. 00005D4E  6000 01D8                bra        +0x1DA /* 00005F28 */
  9295. 00005D52  7000                     moveq.l    D0, 0x00
  9296. 00005D54  2F00                     move.l     -[A7], D0
  9297. 00005D56  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9298. 00005D5C  7203                     moveq.l    D1, 0x03
  9299. 00005D5E  2F01                     move.l     -[A7], D1
  9300. 00005D60  2F07                     move.l     -[A7], D7
  9301. 00005D62  4EBA ADBE                jsr        [PC - 0x5242 /* 00000B22 */]
  9302. 00005D66  4A40                     tst.w      D0
  9303. 00005D68  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9304. 00005D6C  6704                     beq        +0x6 /* 00005D72 */
  9305. 00005D6E  7000                     moveq.l    D0, 0x00
  9306. 00005D70  6002                     bra        +0x4 /* 00005D74 */
  9307. label00005D72:
  9308. 00005D72  7001                     moveq.l    D0, 0x01
  9309. label00005D74:
  9310. 00005D74  4880                     ext.w      D0
  9311. 00005D76  3740 001C                move.w     [A3 + 0x1C], D0
  9312. 00005D7A  6000 01AC                bra        +0x1AE /* 00005F28 */
  9313. 00005D7E  7001                     moveq.l    D0, 0x01
  9314. 00005D80  2F00                     move.l     -[A7], D0
  9315. 00005D82  2F3C 00FE 7014           move.l     -[A7], 0xFE7014
  9316. 00005D88  7203                     moveq.l    D1, 0x03
  9317. 00005D8A  2F01                     move.l     -[A7], D1
  9318. 00005D8C  2F07                     move.l     -[A7], D7
  9319. 00005D8E  4EBA AD92                jsr        [PC - 0x526E /* 00000B22 */]
  9320. 00005D92  4A40                     tst.w      D0
  9321. 00005D94  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9322. 00005D98  6704                     beq        +0x6 /* 00005D9E */
  9323. 00005D9A  7001                     moveq.l    D0, 0x01
  9324. 00005D9C  6002                     bra        +0x4 /* 00005DA0 */
  9325. label00005D9E:
  9326. 00005D9E  7000                     moveq.l    D0, 0x00
  9327. label00005DA0:
  9328. 00005DA0  4880                     ext.w      D0
  9329. 00005DA2  3740 001C                move.w     [A3 + 0x1C], D0
  9330. 00005DA6  6000 0180                bra        +0x182 /* 00005F28 */
  9331. 00005DAA  206E FFDC                movea.l    A0, [A6 - 0x24]
  9332. 00005DAE  7062                     moveq.l    D0, 0x62
  9333. 00005DB0  B068 0146                cmp.w      D0, [A0 + 0x146]
  9334. 00005DB4  6606                     bne        +0x8 /* 00005DBC */
  9335. 00005DB6  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9336. 00005DB8  6000 016E                bra        +0x170 /* 00005F28 */
  9337. label00005DBC:
  9338. 00005DBC  206E FFDC                movea.l    A0, [A6 - 0x24]
  9339. 00005DC0  7000                     moveq.l    D0, 0x00
  9340. 00005DC2  1028 0038                move.b     D0, [A0 + 0x38]
  9341. 00005DC6  4A80                     tst.l      D0
  9342. 00005DC8  7260                     moveq.l    D1, 0x60
  9343. 00005DCA  C200                     and.b      D1, D0
  9344. 00005DCC  EA09                     lsr        D1.b, 5
  9345. 00005DCE  7000                     moveq.l    D0, 0x00
  9346. 00005DD0  1001                     move.b     D0, D1
  9347. 00005DD2  4A80                     tst.l      D0
  9348. 00005DD4  3740 001C                move.w     [A3 + 0x1C], D0
  9349. 00005DD8  6000 014E                bra        +0x150 /* 00005F28 */
  9350. 00005DDC  206E FFDC                movea.l    A0, [A6 - 0x24]
  9351. 00005DE0  7062                     moveq.l    D0, 0x62
  9352. 00005DE2  B068 0146                cmp.w      D0, [A0 + 0x146]
  9353. 00005DE6  6606                     bne        +0x8 /* 00005DEE */
  9354. 00005DE8  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9355. 00005DEA  6000 013C                bra        +0x13E /* 00005F28 */
  9356. label00005DEE:
  9357. 00005DEE  206E FFDC                movea.l    A0, [A6 - 0x24]
  9358. 00005DF2  7000                     moveq.l    D0, 0x00
  9359. 00005DF4  1028 0038                move.b     D0, [A0 + 0x38]
  9360. 00005DF8  4A80                     tst.l      D0
  9361. 00005DFA  323C 0080                move.w     D1, 0x80
  9362. 00005DFE  C200                     and.b      D1, D0
  9363. 00005E00  6704                     beq        +0x6 /* 00005E06 */
  9364. 00005E02  7001                     moveq.l    D0, 0x01
  9365. 00005E04  6002                     bra        +0x4 /* 00005E08 */
  9366. label00005E06:
  9367. 00005E06  7000                     moveq.l    D0, 0x00
  9368. label00005E08:
  9369. 00005E08  4880                     ext.w      D0
  9370. 00005E0A  3740 001C                move.w     [A3 + 0x1C], D0
  9371. 00005E0E  6000 0118                bra        +0x11A /* 00005F28 */
  9372. 00005E12  206E FFDC                movea.l    A0, [A6 - 0x24]
  9373. 00005E16  7062                     moveq.l    D0, 0x62
  9374. 00005E18  B068 0146                cmp.w      D0, [A0 + 0x146]
  9375. 00005E1C  6606                     bne        +0x8 /* 00005E24 */
  9376. 00005E1E  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9377. 00005E20  6000 0106                bra        +0x108 /* 00005F28 */
  9378. label00005E24:
  9379. 00005E24  206E FFDC                movea.l    A0, [A6 - 0x24]
  9380. 00005E28  7000                     moveq.l    D0, 0x00
  9381. 00005E2A  1028 003B                move.b     D0, [A0 + 0x3B]
  9382. 00005E2E  4A80                     tst.l      D0
  9383. 00005E30  7240                     moveq.l    D1, 0x40
  9384. 00005E32  C200                     and.b      D1, D0
  9385. 00005E34  6704                     beq        +0x6 /* 00005E3A */
  9386. 00005E36  7001                     moveq.l    D0, 0x01
  9387. 00005E38  6002                     bra        +0x4 /* 00005E3C */
  9388. label00005E3A:
  9389. 00005E3A  7000                     moveq.l    D0, 0x00
  9390. label00005E3C:
  9391. 00005E3C  4880                     ext.w      D0
  9392. 00005E3E  3740 001C                move.w     [A3 + 0x1C], D0
  9393. 00005E42  6000 00E4                bra        +0xE6 /* 00005F28 */
  9394. 00005E46  206E FFDC                movea.l    A0, [A6 - 0x24]
  9395. 00005E4A  7062                     moveq.l    D0, 0x62
  9396. 00005E4C  B068 0146                cmp.w      D0, [A0 + 0x146]
  9397. 00005E50  6606                     bne        +0x8 /* 00005E58 */
  9398. 00005E52  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9399. 00005E54  6000 00D2                bra        +0xD4 /* 00005F28 */
  9400. label00005E58:
  9401. 00005E58  206E FFDC                movea.l    A0, [A6 - 0x24]
  9402. 00005E5C  7000                     moveq.l    D0, 0x00
  9403. 00005E5E  1028 003C                move.b     D0, [A0 + 0x3C]
  9404. 00005E62  4A80                     tst.l      D0
  9405. 00005E64  7203                     moveq.l    D1, 0x03
  9406. 00005E66  C200                     and.b      D1, D0
  9407. 00005E68  7000                     moveq.l    D0, 0x00
  9408. 00005E6A  1001                     move.b     D0, D1
  9409. 00005E6C  4A80                     tst.l      D0
  9410. 00005E6E  3740 001C                move.w     [A3 + 0x1C], D0
  9411. 00005E72  6000 00B4                bra        +0xB6 /* 00005F28 */
  9412. 00005E76  206E FFDC                movea.l    A0, [A6 - 0x24]
  9413. 00005E7A  7000                     moveq.l    D0, 0x00
  9414. 00005E7C  1028 0032                move.b     D0, [A0 + 0x32]
  9415. 00005E80  4A80                     tst.l      D0
  9416. 00005E82  7240                     moveq.l    D1, 0x40
  9417. 00005E84  C200                     and.b      D1, D0
  9418. 00005E86  6704                     beq        +0x6 /* 00005E8C */
  9419. 00005E88  7001                     moveq.l    D0, 0x01
  9420. 00005E8A  6002                     bra        +0x4 /* 00005E8E */
  9421. label00005E8C:
  9422. 00005E8C  7000                     moveq.l    D0, 0x00
  9423. label00005E8E:
  9424. 00005E8E  4880                     ext.w      D0
  9425. 00005E90  3740 001C                move.w     [A3 + 0x1C], D0
  9426. 00005E94  6000 0092                bra        +0x94 /* 00005F28 */
  9427. 00005E98  206E FFDC                movea.l    A0, [A6 - 0x24]
  9428. 00005E9C  7000                     moveq.l    D0, 0x00
  9429. 00005E9E  1028 0032                move.b     D0, [A0 + 0x32]
  9430. 00005EA2  4A80                     tst.l      D0
  9431. 00005EA4  7230                     moveq.l    D1, 0x30
  9432. 00005EA6  C200                     and.b      D1, D0
  9433. 00005EA8  E809                     lsr        D1.b, 4
  9434. 00005EAA  7000                     moveq.l    D0, 0x00
  9435. 00005EAC  1001                     move.b     D0, D1
  9436. 00005EAE  4A80                     tst.l      D0
  9437. 00005EB0  3740 001C                move.w     [A3 + 0x1C], D0
  9438. 00005EB4  6072                     bra        +0x74 /* 00005F28 */
  9439. 00005EB6  206E FFDC                movea.l    A0, [A6 - 0x24]
  9440. 00005EBA  7000                     moveq.l    D0, 0x00
  9441. 00005EBC  1028 0032                move.b     D0, [A0 + 0x32]
  9442. 00005EC0  4A80                     tst.l      D0
  9443. 00005EC2  720C                     moveq.l    D1, 0x0C
  9444. 00005EC4  C200                     and.b      D1, D0
  9445. 00005EC6  E409                     lsr        D1.b, 2
  9446. 00005EC8  7000                     moveq.l    D0, 0x00
  9447. 00005ECA  1001                     move.b     D0, D1
  9448. 00005ECC  4A80                     tst.l      D0
  9449. 00005ECE  3740 001C                move.w     [A3 + 0x1C], D0
  9450. 00005ED2  6054                     bra        +0x56 /* 00005F28 */
  9451. 00005ED4  206E FFDC                movea.l    A0, [A6 - 0x24]
  9452. 00005ED8  7000                     moveq.l    D0, 0x00
  9453. 00005EDA  1028 0032                move.b     D0, [A0 + 0x32]
  9454. 00005EDE  4A80                     tst.l      D0
  9455. 00005EE0  7203                     moveq.l    D1, 0x03
  9456. 00005EE2  C200                     and.b      D1, D0
  9457. 00005EE4  7000                     moveq.l    D0, 0x00
  9458. 00005EE6  1001                     move.b     D0, D1
  9459. 00005EE8  4A80                     tst.l      D0
  9460. 00005EEA  3740 001C                move.w     [A3 + 0x1C], D0
  9461. 00005EEE  6038                     bra        +0x3A /* 00005F28 */
  9462. 00005EF0  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9463. 00005EF2  6034                     bra        +0x36 /* 00005F28 */
  9464. 00005EF4  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  9465. 00005EF8  486B 001C                pea.l      [A3 + 0x1C]
  9466. 00005EFC  7000                     moveq.l    D0, 0x00
  9467. 00005EFE  2F00                     move.l     -[A7], D0
  9468. 00005F00  4878 008A                push.l     0x8A
  9469. 00005F04  4EBA C5BC                jsr        [PC - 0x3A44 /* 000024C2 */]
  9470. 00005F08  3A00                     move.w     D5, D0
  9471. 00005F0A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9472. 00005F0E  6018                     bra        +0x1A /* 00005F28 */
  9473. 00005F10  206E FFDC                movea.l    A0, [A6 - 0x24]
  9474. 00005F14  3768 0014 001C           move.w     [A3 + 0x1C], [A0 + 0x14]
  9475. 00005F1A  206E FFDC                movea.l    A0, [A6 - 0x24]
  9476. 00005F1E  3768 001A 001E           move.w     [A3 + 0x1E], [A0 + 0x1A]
  9477. 00005F24  6002                     bra        +0x4 /* 00005F28 */
  9478. label00005F26:
  9479. 00005F26  7AEE                     moveq.l    D5, 0xFFFFFFEE
  9480. label00005F28:
  9481. 00005F28  226E FFD8                movea.l    A1, [A6 - 0x28]
  9482. 00005F2C  3029 0002                move.w     D0, [A1 + 0x2]
  9483. 00005F30  48C0                     ext.l      D0
  9484. 00005F32  226E FFD8                movea.l    A1, [A6 - 0x28]
  9485. 00005F36  2071 0C04                movea.l    A0, [A1 + D0 * 4 + 0x4]
  9486. 00005F3A  A02A                     syscall    HUnlock
  9487. 00005F3C  226E 0008                movea.l    A1, [A6 + 0x8]
  9488. 00005F40  2069 0014                movea.l    A0, [A1 + 0x14]
  9489. 00005F44  A02A                     syscall    HUnlock
  9490. 00005F46  3D45 0010                move.w     [A6 + 0x10], D5
  9491. 00005F4A  4CEE 18F8 FFB8           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x48]
  9492. 00005F50  4E5E                     unlink     A6
  9493. 00005F52  4E74 0008                rtd        0x0008
  9494. fn00005F56:
  9495. 00005F56  205F                     movea.l    A0, [A7]+
  9496. 00005F58  301F                     move.w     D0, [A7]+
  9497. 00005F5A  4297                     clr.l      [A7]
  9498. 00005F5C  4640                     not.w      D0
  9499. 00005F5E  B078 01D2                cmp.w      D0, [0x000001D2 /* UnitNtryCnt */]
  9500. 00005F62  640A                     bcc        +0xC /* 00005F6E */
  9501. 00005F64  E548                     lsl        D0.w, 2
  9502. 00005F66  2278 011C                movea.l    A1, [0x0000011C /* UTableBase */]
  9503. 00005F6A  2EB1 0000                move.l     [A7], [A1 + D0.w]
  9504. label00005F6E:
  9505. 00005F6E  4ED0                     jmp        [A0]
  9506. fn00005F70:
  9507. 00005F70  225F                     movea.l    A1, [A7]+
  9508. 00005F72  201F                     move.l     D0, [A7]+
  9509. 00005F74  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  9510. 00005F7A  6606                     bne        +0x8 /* 00005F82 */
  9511. 00005F7C  A055                     syscall    StripAddress
  9512. 00005F7E  2E80                     move.l     [A7], D0
  9513. 00005F80  4ED1                     jmp        [A1]
  9514. label00005F82:
  9515. 00005F82  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  9516. 00005F86  2E80                     move.l     [A7], D0
  9517. 00005F88  4ED1                     jmp        [A1]
  9518.